aboutsummaryrefslogtreecommitdiff
path: root/gn2/utility/__init__.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-31 15:27:59 -0500
committerFrederick Muriuki Muriithi2024-07-31 15:27:59 -0500
commitb9a0a5d4b64c65c9472b253db7a28cb91328401f (patch)
tree137946c7121d189153f8a92237c8b8d66412cdef /gn2/utility/__init__.py
parente693056b193c9c08bf0a0e99df4352cfeb83de2f (diff)
downloadgenenetwork2-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