diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2020-01-30 15:05:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 15:05:12 -0800 |
commit | 4287963d1e51e0bd9b1b78d78981d67e2c0213db (patch) | |
tree | 1ff6263847763d71554d6e68e2d466995689b177 /CHANGES | |
parent | 09a17eaca6b0972a6446e3132e8024099d271f24 (diff) | |
download | redis-py-4287963d1e51e0bd9b1b78d78981d67e2c0213db.tar.gz |
better thread-safety for ConnectionPool (#1270)
Better thread and fork safety for ConnectionPool and BlockingConnectionPool
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -20,6 +20,14 @@ for backwards compatibility. #1196 * Slightly optimized command packing. Thanks @Deneby67. #1255 * Added support for the TYPE argument to SCAN. Thanks @netocp. #1220 + * Better thread and fork safety in ConnectionPool and + BlockingConnectionPool. Added better locking to synchronize critical + sections rather than relying on CPython-specific implementation details + relating to atomic operations. Adjusted how the pools identify and + deal with a fork. Added a ChildDeadlockedError exception that is + raised by child processes in the very unlikely chance that a deadlock + is encountered. Thanks @gmbnomis, @mdellweg, @yht804421715. #1270, + #1138, #1178, #906, #1262 * 3.3.11 * Further fix for the SSLError -> TimeoutError mapping to work on obscure releases of Python 2.7. |