Skip to content

Commit

Permalink
Change thread async duration
Browse files Browse the repository at this point in the history
### Notes
Let's bump the check between messages to be 12 hours instead of 60 minutes.
  • Loading branch information
zuuring committed Nov 14, 2024
1 parent ec85fb4 commit 16392cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {

// The maximum time between any two messages after which a thread is considered
// async.
const MAX_HEURISTIC_SYNC_THREAD_DURATION = 60 * MINUTE // 60 * MINUTE
const MAX_HEURISTIC_SYNC_THREAD_DURATION = 12 * HOUR // 60 * MINUTE
// How frequently threads are checked for archive requirements.
const THREAD_CHECK_CADENCE = 12 * HOUR // 12 * HOUR
// Use a ThreadAutoArchiveDuration as we'll still lean on Discord to
Expand Down

0 comments on commit 16392cb

Please sign in to comment.