Add Jitter To Google Sync Timeouts
AlecRosenbaum opened this issue · 0 comments
AlecRosenbaum commented
Most accounts don't get new calendar events every hour. If most calendars timeout and force a sync at the same time, this results in spikes of API usage/processing every period.
This can be smoothed out by injecting some jitter/randomness into the timeout window. Over time, the randomness will cause the timeout window to drift and we'll end up with a more uniform syncing load.