mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[GH-ISSUE #549] Unable to set idleLockTimeout without idleKillTimeout #137
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexdupre on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/549
The following code seems to have a couple of issues:
idleLockTimeoutis re-set to0if theidleKillTimeoutis disabled (0 is less than any value)setting 'idleKillTimeout' to 0while it's actuallyidleLockTimeoutgithub.com/ovh/the-bastion@2851d6f42c/lib/perl/OVH/Bastion/configuration.inc (L529-L538)@speed47 commented on GitHub (Jul 7, 2025):
Thanks for the report, indeed there was a logic error here, plus a misleading log, both were probably typos:
With this logic, all cases are now correct: