rill
rill copied to clipboard
Fix race condition for expired JWTs
Closes #3876
This PR ensures a fresh JWT before firing requests to a Runtime server. This helps avoid the race condition mentioned in the above issue.
This PR assumes a runtime access token TTL of 30 minutes. So when this PR is merged, we'll be ready to merge https://github.com/rilldata/rill/pull/4058.