Respect Gmail retry-after in messaging throttle (#17850)
Gmail 429/403 rate-limit responses include an explicit retry-after timestamp, usually ~15 minutes out. The exponential backoff starts at 1 minute, so the channel burns through all 5 retry attempts before the window actually closes and gets marked as permanently failed. Adds throttleRetryAfter to the message channel and uses max(backoff, retryAfter) in isThrottled().
This commit is contained in:
@@ -821,6 +821,9 @@ export const STANDARD_OBJECTS = {
|
||||
throttleFailureCount: {
|
||||
universalIdentifier: '20202020-0291-42be-9ad0-d578a51684ab',
|
||||
},
|
||||
throttleRetryAfter: {
|
||||
universalIdentifier: '20202020-a1e3-4d7f-b5c2-9f8e6d4c3b2a',
|
||||
},
|
||||
},
|
||||
indexes: {
|
||||
connectedAccountIdIndex: {
|
||||
|
||||
Reference in New Issue
Block a user