2e8bd84403
Simplified the acquire_lock method in the redis cache store, so that it sets the key with an expiry in one go. Before, it would set it, then update it afterwards with an expiry. This also makes test_lock_timeouts() more robust. Co-authored-by: Daniel Ziegenberg <daniel@ziegenberg.at> Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>