aboutsummaryrefslogtreecommitdiff
path: root/hotline/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/config.go')
-rw-r--r--hotline/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/hotline/config.go b/hotline/config.go
index aeae275..a30bbf7 100644
--- a/hotline/config.go
+++ b/hotline/config.go
@@ -1,5 +1,11 @@
package hotline
+const (
+ userIdleSeconds = 300 // time in seconds before an inactive user is marked idle
+ idleCheckInterval = 10 // time in seconds to check for idle users
+ trackerUpdateFrequency = 300 // time in seconds between tracker re-registration
+)
+
type Config struct {
Name string `yaml:"Name" validate:"required,max=50"` // Name used for Tracker registration
Description string `yaml:"Description" validate:"required,max=200"` // Description used for Tracker registration