Skip to content

Allow async token refreshing #388

@petruki

Description

@petruki

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions