commit | e1a5bb345b1b30ea777348efa9cade21c1f2e2fb | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Mar 04 13:33:39 2015 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Wed Mar 04 13:33:39 2015 +0200 |
tree | 98d07a56eb201818bdc274ba052d402e13841de1 | |
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.