aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/expression-data
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-05 10:26:14 -0500
committerFrederick Muriuki Muriithi2024-09-05 10:26:29 -0500
commitf5b60f2909c6683345ae0f1070e84e40c41af5ad (patch)
treeb562c455ffb4567f347543f7f54a92da15acb369 /uploader/templates/expression-data
parent40dbb863ffb99721d4b736eb237ce94f15e61e48 (diff)
downloadgn-uploader-f5b60f2909c6683345ae0f1070e84e40c41af5ad.tar.gz
Synchronise token refreshing.
When running flask with multiple threads/workers, as happens when using gunicorn, there is a potential for more than one thread running with an expired token, leading to multiple uncoordinated token refreshes. This commit coordinates the threads in the case there is need to refresh a token, ensuring only one thread does the token refresh.
Diffstat (limited to 'uploader/templates/expression-data')
0 files changed, 0 insertions, 0 deletions