mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 13:00:31 +01:00
Add a “wait for all connections to close before switching to sleep mode” mode for idlesleeper #25
Reference in New Issue
Block a user
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 @FRAGM0S on GitHub (Jan 17, 2025).
Currently, each traffic on a service resets the idlesleeper countdown to zero.
I propose adding a mode that doesn't trigger the countdown as long as at least one connection is open with a service.
For example, if I use a service with a static web page, the idlesleeper should keep this service alive as long as the web page is not closed.