fix: exponential backoff before prompting reauthorization

This commit is contained in:
Tanmay Deep Sharma
2026-02-23 13:44:44 +05:30
parent 138840a23f
commit 7b6b2afdce
3 changed files with 46 additions and 13 deletions
@@ -0,0 +1,6 @@
class AddImapBackoffToChannelEmail < ActiveRecord::Migration[7.2]
def change
add_column :channel_email, :imap_retry_count, :integer, default: 0, null: false
add_column :channel_email, :imap_retry_after, :datetime
end
end