We could try to use whatever quota we have left before the API limit resets at UTC 00:00. I think a good approach would be to find the N oldest calendars in our cache and update them. We could prevent new requests from users at something like 23:50 UTC, and use this leftover to update calendars and tell users to come back in 10min.
We could try to use whatever quota we have left before the API limit resets at UTC 00:00. I think a good approach would be to find the N oldest calendars in our cache and update them. We could prevent new requests from users at something like 23:50 UTC, and use this leftover to update calendars and tell users to come back in 10min.