aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst
diff options
context:
space:
mode:
Diffstat (limited to 'hst')
-rw-r--r--hst/config.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/hst/config.go b/hst/config.go
index 3aa71aa4..f5689a4c 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -11,6 +11,13 @@ const Tmp = "/.hakurei"
var AbsTmp = container.MustAbs(Tmp)
+const (
+ // DefaultWaitDelay is used when WaitDelay has its zero value.
+ DefaultWaitDelay = 5 * time.Second
+ // MaxWaitDelay is used if WaitDelay exceeds its value.
+ MaxWaitDelay = 30 * time.Second
+)
+
// Config is used to seal an app implementation.
type (
Config struct {