aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-05 03:58:52 +0900
committerOphestra <cat@gensokyo.uk>2025-10-05 03:59:52 +0900
commit80ad2e4e2384adc84dc70ee15138c0ea4f9b6784 (patch)
treedd8096a8de40bc24816e6518c8100d7d8775044f /hst
parent92b83bd599adf085c1a2a9c73eeb6b6dc1eee6e4 (diff)
internal/app: do not offset base value
This value is applied to the shim, it is incorrect to offset the base value as well. Signed-off-by: Ophestra <cat@gensokyo.uk>
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 {