Removed silly print
the build was successful Details

This commit is contained in:
Antoine Bartuccio 2018-07-18 00:03:38 +02:00
parent e68bc648ca
commit 751f8a7a89
Signed by: klmp200
GPG Key ID: E7245548C53F904B
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# gowebframework # Go Web Framework
Petit framework web en go pour des petites applications avec chargement des templates et serveur intégré Petit framework web en go pour des petites applications avec chargement des templates et serveur intégré

View File

@ -2,7 +2,7 @@
* @Author: Bartuccio Antoine * @Author: Bartuccio Antoine
* @Date: 2018-07-16 14:07:07 * @Date: 2018-07-16 14:07:07
* @Last Modified by: klmp200 * @Last Modified by: klmp200
* @Last Modified time: 2018-07-17 23:57:10 * @Last Modified time: 2018-07-18 00:03:26
*/ */
package gowebframework package gowebframework
@ -51,7 +51,6 @@ func clearExpiredSessionsCron() {
lifetime := SESSION.maxLifetime lifetime := SESSION.maxLifetime
SESSION.lock.Unlock() SESSION.lock.Unlock()
for { for {
log.Println("pute")
SESSION.lock.Lock() SESSION.lock.Lock()
SESSION.provider.SessionClearExpired(lifetime) SESSION.provider.SessionClearExpired(lifetime)
SESSION.lock.Unlock() SESSION.lock.Unlock()