On free workers, that's probably the best strategy. If you have the paid plan though, a better optio

On free workers, that's probably the best strategy. If you have the paid plan though, a better option is durable object alarms. That'll let you set the exact time you want to refresh that specific token at, and automatically retries if it fails.
Was this page helpful?