aboutsummaryrefslogtreecommitdiff
path: root/gn2/utility/json/encoders.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-31 15:27:59 -0500
committerAlexander_Kabui2024-08-28 15:02:46 +0300
commit2ff7cf9ff8640328c5849c5ff07bd0113a303856 (patch)
treee0fb37f43efda2307bd8563a152b59fe66c80538 /gn2/utility/json/encoders.py
parenta1eb080eca9611262f1a3fa4463d40653d6899c2 (diff)
downloadgenenetwork2-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/utility/json/encoders.py')
0 files changed, 0 insertions, 0 deletions