diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-05 03:58:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-05 03:59:52 +0900 |
| commit | 80ad2e4e2384adc84dc70ee15138c0ea4f9b6784 (patch) | |
| tree | dd8096a8de40bc24816e6518c8100d7d8775044f /internal/app/shim.go | |
| parent | 92b83bd599adf085c1a2a9c73eeb6b6dc1eee6e4 (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 'internal/app/shim.go')
| -rw-r--r-- | internal/app/shim.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/app/shim.go b/internal/app/shim.go index 417f793c..de53b975 100644 --- a/internal/app/shim.go +++ b/internal/app/shim.go @@ -42,11 +42,6 @@ const ( ShimExitRequest = 254 // 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 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. |
