Skip to content

Commit

Permalink
Lower last used threshold to 5 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Oct 8, 2024
1 parent ecd8bde commit e6bcf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/passenger_worker_cleaner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Configuration Constants
PASSENGER_STATUS_CMD = 'passenger-status'
MIN_WORKERS_ALLOWED = 4
LAST_USED_THRESHOLD_SECONDS = 10 * 60 # 10 minutes
LAST_USED_THRESHOLD_SECONDS = 5 * 60 # 5 minutes

# Helper method for debug logging
def debug_log(message)
Expand Down

0 comments on commit e6bcf5d

Please sign in to comment.