mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 12:08:01 +00:00
feat: Ability to customize the online presence duration (#4385)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
module OnlineStatusTracker
|
||||
PRESENCE_DURATION = 20.seconds
|
||||
# NOTE: You can customise the environment variable to keep your agents/contacts as online for longer
|
||||
PRESENCE_DURATION = ENV.fetch('PRESENCE_DURATION', 20).to_i.seconds
|
||||
|
||||
# presence : sorted set with timestamp as the score & object id as value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user