diff options
author | Frederick Muriuki Muriithi | 2024-07-31 15:27:59 -0500 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:46 +0300 |
commit | 2ff7cf9ff8640328c5849c5ff07bd0113a303856 (patch) | |
tree | e0fb37f43efda2307bd8563a152b59fe66c80538 /gn2/db/__init__.py | |
parent | a1eb080eca9611262f1a3fa4463d40653d6899c2 (diff) | |
download | genenetwork2-2ff7cf9ff8640328c5849c5ff07bd0113a303856.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/db/__init__.py')
0 files changed, 0 insertions, 0 deletions