From 80ad2e4e2384adc84dc70ee15138c0ea4f9b6784 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 5 Oct 2025 03:58:52 +0900 Subject: 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 --- hst/config.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hst') 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 { -- cgit v1.3.1