Something went wrong. Try again.
Something went wrong. Try again.
harvest: get a new access token when Gmail refuses the walk's
An access token lasts an hour. When it expired mid-walk, Gmail refused the walk's next request and the walk waited out its 60 s back-off; the token was refreshed only once some other request was refused too. The walk now asks the session for a new token on the first refusal and goes on once the session has it, as it waits while the session refreshes. Refused again, it backs off as for any other failure.
Author
rockorager.dev Date (Nov 11, 2026, 6:46 PM UTC) Commit
Copy SHA
Parent 59b907c0 59b907c087a93bd149b925212525102c46bcfed4