diff options
author | Andrey Andreev <narf@devilix.net> | 2015-03-04 12:33:39 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-03-04 12:33:39 +0100 |
commit | e1a5bb345b1b30ea777348efa9cade21c1f2e2fb (patch) | |
tree | 98d07a56eb201818bdc274ba052d402e13841de1 /system/helpers/number_helper.php | |
parent | fd08d02b1984d8f27a5e447a5c9d5e190271ab5e (diff) |
Fix #3627: Keep timed locks for more than 5 seconds
Emulated locks for Redis and Memcached now have a TTL
of 300 seconds (the default HTTP request timeout value
on many environments) and 30 attemps, each separated by
sleep(1), are made by the blocked request to try and
obtain a lock if it has been freed.
Additionaly, the blocking time for MySQL's locks,
which are also timed, is also set to 300 seconds.
Diffstat (limited to 'system/helpers/number_helper.php')
0 files changed, 0 insertions, 0 deletions