19388: Log user activity.
[arvados.git] / lib / controller / localdb / conn.go
index a36822ad6b1f5df1f73ffbc3536d76a7215f1817..0420cf6f2f24edf4814c95fefb59382ff4de3350 100644 (file)
@@ -33,8 +33,11 @@ type Conn struct {
        lastVocabularyRefreshCheck time.Time
        lastVocabularyError        error
        loginController
-       gwTunnels     map[string]*yamux.Session
-       gwTunnelsLock sync.Mutex
+       gwTunnels        map[string]*yamux.Session
+       gwTunnelsLock    sync.Mutex
+       activeUsers      map[string]bool
+       activeUsersLock  sync.Mutex
+       activeUsersReset time.Time
 }
 
 func NewConn(cluster *arvados.Cluster) *Conn {