Is your feature request related to a problem? Please describe.
When using remote, although tokens might be configured for an extended expiration window, this could still add performance spikes if applications require extreme linear and predictable performance. However, we must keep this option as optional, considering this is a highly isolated case; any extra resource allocated to Threads must be carefully validated.
Describe the solution you'd like
Add a new Context property to enable scheduled token refreshing based on its expiration time minus 5 seconds.
Is your feature request related to a problem? Please describe.
When using remote, although tokens might be configured for an extended expiration window, this could still add performance spikes if applications require extreme linear and predictable performance. However, we must keep this option as optional, considering this is a highly isolated case; any extra resource allocated to Threads must be carefully validated.
Describe the solution you'd like
Add a new Context property to enable scheduled token refreshing based on its expiration time minus 5 seconds.