projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19388: Log user activity.
[arvados.git]
/
lib
/
controller
/
localdb
/
conn.go
diff --git
a/lib/controller/localdb/conn.go
b/lib/controller/localdb/conn.go
index a36822ad6b1f5df1f73ffbc3536d76a7215f1817..0420cf6f2f24edf4814c95fefb59382ff4de3350 100644
(file)
--- a/
lib/controller/localdb/conn.go
+++ b/
lib/controller/localdb/conn.go
@@
-33,8
+33,11
@@
type Conn struct {
lastVocabularyRefreshCheck time.Time
lastVocabularyError error
loginController
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 {
}
func NewConn(cluster *arvados.Cluster) *Conn {