summaryrefslogtreecommitdiffstats
path: root/lib/xdsserver/sessions.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-05 14:59:03 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-05 14:59:03 +0100
commit2a7a112bbffcd41a3436c086f1910ea7a9c94744 (patch)
treec91e16012cf6ecd5c8bd5c5a55296acbcb51ea25 /lib/xdsserver/sessions.go
parentb36a9d0846acddb1ae1716b42f1296f6ad88b05b (diff)
Migration to AGL gerrit (update go import)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xdsserver/sessions.go')
-rw-r--r--lib/xdsserver/sessions.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/xdsserver/sessions.go b/lib/xdsserver/sessions.go
index f7ce846..69fe819 100644
--- a/lib/xdsserver/sessions.go
+++ b/lib/xdsserver/sessions.go
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2017 "IoT.bzh"
+ * Copyright (C) 2017-2018 "IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -23,7 +23,7 @@ import (
"time"
"github.com/gin-gonic/gin"
- "github.com/googollee/go-socket.io"
+ socketio "github.com/googollee/go-socket.io"
uuid "github.com/satori/go.uuid"
"github.com/syncthing/syncthing/lib/sync"
)
@@ -217,8 +217,8 @@ func (s *Sessions) monitorSessMap() {
s.Log.Debugln("Stop monitorSessMap")
return
case <-time.After(sessionMonitorTime * time.Second):
- s.LogSillyf("Sessions Map size: %d", len(s.sessMap))
- s.LogSillyf("Sessions Map : %v", s.sessMap)
+ s.LogSillyf("Sessions Map size: %d", len(s.sessMap))
+ s.LogSillyf("Sessions Map : %v", s.sessMap)
if len(s.sessMap) > maxSessions {
s.Log.Errorln("TOO MUCH sessions, cleanup old ones !")