Compare commits

...
2 Commits
Author SHA1 Message Date
Shivam MishraandGitHub 3048051284 chore: update imap mutex timeout 2026-07-23 16:11:06 +05:30
Shivam Mishra 7d7731834c feat: update lock timeout for fetch imap 2026-07-23 16:03:14 +05:30
+1 -2
View File
@@ -7,8 +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, 5.minutes) do
with_lock(key, 30.minutes) do
process_email_for_channel(channel, interval)
end
rescue *ExceptionList::IMAP_EXCEPTIONS => e