This commit is contained in:
parent
e68bc648ca
commit
751f8a7a89
@ -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é
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: Bartuccio Antoine
|
||||
* @Date: 2018-07-16 14:07:07
|
||||
* @Last Modified by: klmp200
|
||||
* @Last Modified time: 2018-07-17 23:57:10
|
||||
* @Last Modified time: 2018-07-18 00:03:26
|
||||
*/
|
||||
|
||||
package gowebframework
|
||||
@ -51,7 +51,6 @@ func clearExpiredSessionsCron() {
|
||||
lifetime := SESSION.maxLifetime
|
||||
SESSION.lock.Unlock()
|
||||
for {
|
||||
log.Println("pute")
|
||||
SESSION.lock.Lock()
|
||||
SESSION.provider.SessionClearExpired(lifetime)
|
||||
SESSION.lock.Unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user