refactor: move the imap backoff keys to installation configs

This commit is contained in:
Tanmay Deep Sharma
2026-02-26 13:09:49 +05:30
parent 1a158317fb
commit beeb023e19
4 changed files with 30 additions and 9 deletions
-2
View File
@@ -1,7 +1,5 @@
require 'net/imap'
class Imap::AuthenticationError < StandardError; end
module ExceptionList
REST_CLIENT_EXCEPTIONS = [RestClient::NotFound, RestClient::GatewayTimeout, RestClient::BadRequest,
RestClient::MethodNotAllowed, RestClient::Forbidden, RestClient::InternalServerError,