test
This commit is contained in:
parent
2d94906871
commit
79144f2bcf
@ -58,6 +58,7 @@ func setClientBusy(userID64 int64, from time.Time, duration time.Duration) error
|
||||
if clt, ok := getLockedClient(userID64, false); ok {
|
||||
t := time.Now().UTC()
|
||||
log.Printf("setClientBusy[%s] : now %s.\n", clt.Login, t.Format(timeFmt))
|
||||
log.Printf("setClientBusy[%s] : from %s.\n", clt.Login, t.UTC().Format(timeFmt))
|
||||
log.Printf("setClientBusy[%s] : until %s.\n", clt.Login, from.UTC().Add(duration).Format(timeFmt))
|
||||
if from.UTC().Add(duration).After(time.Now().UTC()) {
|
||||
clt.CWIdle = false
|
||||
|
Loading…
Reference in New Issue
Block a user