Badges: make the cache lock timeout longer

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-04-29 16:44:34 +02:00
parent 87101fc5da
commit 3036eaae26
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -75,7 +75,8 @@ password = "{{ (env == 'production')|ternary(badges_prod_redis_password, badges_
db = 0
redis_expiration_time = 86400
distributed_lock = true
lock_timeout = 5
# Lock timeout should be longer than the longest datanommer query
lock_timeout = 14400
thread_local_lock = false
# This is a set of data that tells our consumer what Open Badges Issuer