chore: update imap mutex timeout

This commit is contained in:
Shivam Mishra
2026-07-23 16:11:06 +05:30
committed by GitHub
parent 7d7731834c
commit 3048051284
+1 -1
View File
@@ -7,7 +7,7 @@ class Inboxes::FetchImapEmailsJob < MutexApplicationJob
return unless should_fetch_email?(channel)
key = format(::Redis::Alfred::EMAIL_MESSAGE_MUTEX, inbox_id: channel.inbox.id)
with_lock(key, 24.minutes) do
with_lock(key, 30.minutes) do
process_email_for_channel(channel, interval)
end
rescue *ExceptionList::IMAP_EXCEPTIONS => e