Removed silly print
the build was successful

This commit is contained in:
klmp200 committed 2018-07-18 00:03:38 +02:00
1 parent e68bc648ca
commit 751f8a7a89
2 files changed
+2 -3

No files matched your search

+1 -1
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é
+1 -2
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()