aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/shim.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/shim.go')
-rw-r--r--internal/app/shim.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/app/shim.go b/internal/app/shim.go
index 5eaf8333..e38104c9 100644
--- a/internal/app/shim.go
+++ b/internal/app/shim.go
@@ -45,8 +45,10 @@ const (
// ShimExitOrphan is returned when the shim is orphaned before monitor delivers a signal.
ShimExitOrphan = 3
+ // DefaultShimWaitDelay is used when WaitDelay has its zero value.
DefaultShimWaitDelay = 5 * time.Second
- MaxShimWaitDelay = 30 * time.Second
+ // MaxShimWaitDelay is used instead if WaitDelay exceeds its value.
+ MaxShimWaitDelay = 30 * time.Second
)
// ShimMain is the main function of the shim process and runs as the unconstrained target user.