diff options
author | Frederick Muriuki Muriithi | 2024-07-31 15:27:59 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-07-31 15:27:59 -0500 |
commit | b9a0a5d4b64c65c9472b253db7a28cb91328401f (patch) | |
tree | 137946c7121d189153f8a92237c8b8d66412cdef /gn2/utility/__init__.py | |
parent | e693056b193c9c08bf0a0e99df4352cfeb83de2f (diff) | |
download | genenetwork2-b9a0a5d4b64c65c9472b253db7a28cb91328401f.tar.gz |
Synchronise token refreshes
The application can be run in a multi-threaded server, leading to a
situation where the multiple threads attempt to get a new JWT using
the exact same refresh token.
This synchronises the various threads ensuring only a single thread is
able to retrieve the new JWT that all the rest of the threads then
use.
Diffstat (limited to 'gn2/utility/__init__.py')
0 files changed, 0 insertions, 0 deletions