Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Included automatic disconnects as an InternalConnectionChangeEvent
Browse files Browse the repository at this point in the history
…(2) (#79)
  • Loading branch information
fdnt7 committed Oct 4, 2022
1 parent 69c5a19 commit f98e64a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lyra/src/lib/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""How many seconds to wait before checking the next time whether the track is confirmed to be stopped"""
ADD_TRACKS_WRAP_LIM: t.Final = 3
"""How many tracks to be displayed in `/play`'s output before the text got summarized to "Added <i> tracks...\""""
INACTIVITY_TIMEOUT: t.Final = 10
INACTIVITY_TIMEOUT: t.Final = 600
"""Timeout duration for the automatic inactivity disconnection in seconds"""
INACTIVITY_REFRESH: t.Final = 10
"""Amount of timeout refreshes to periodically check whether the inactivity condition is still met"""
Expand All @@ -27,4 +27,4 @@

__developers__: t.Final = frozenset((548850193202675713, 626062879531204618))
"""Who the `debug` commands can be used"""
__version__: t.Final = '2.4.2-hotfix.1'
__version__: t.Final = '2.4.2-hotfix.2'

0 comments on commit f98e64a

Please sign in to comment.