1. 18 7月, 2019 2 次提交
  2. 10 7月, 2019 2 次提交
  3. 26 6月, 2019 1 次提交
  4. 07 6月, 2019 1 次提交
  5. 04 6月, 2019 2 次提交
  6. 30 5月, 2019 2 次提交
  7. 29 5月, 2019 5 次提交
  8. 27 5月, 2019 4 次提交
  9. 30 4月, 2019 1 次提交
  10. 26 4月, 2019 1 次提交
  11. 19 4月, 2019 2 次提交
    • A
      changelog · 01300521
      Andy McCurdy 提交于
      01300521
    • A
      Fix PubSubWorkerThread race condition · 29879bb6
      Andy McCurdy 提交于
      Resolves a race condition found in the PubSubWorkerThread. Prior to this
      change is was possible to receive the server's resonse to an unsubscribe
      message prior to the channel/pattern being added to the
      pending_unsubscribe set.
      
      This also improves PubSubWorkerThread.stop so that the run function is
      stopped immediately after the next iteration.
      
      fixes #1150
      29879bb6
  12. 17 4月, 2019 1 次提交
  13. 11 4月, 2019 1 次提交
  14. 25 3月, 2019 2 次提交
  15. 19 3月, 2019 2 次提交
  16. 18 3月, 2019 2 次提交
  17. 16 3月, 2019 2 次提交
  18. 15 3月, 2019 1 次提交
  19. 25 2月, 2019 1 次提交
  20. 18 2月, 2019 2 次提交
  21. 12 2月, 2019 1 次提交
  22. 05 2月, 2019 2 次提交
    • A
      python2 compat · 78c181b1
      Andy McCurdy 提交于
      78c181b1
    • A
      attempt to provide only healthy connections from the pool · cfa2bc9b
      Andy McCurdy 提交于
      Adds redis.selector, a module that provides the best selector strategy
      available on the current platform. A redis.selector polls a socket to
      provide two pieces of functionality:
      
      1. Check whether data can be read from the socket. Prior versions of redis-py
      provided this behavior with just select.select(). select() has lots of
      limitations, most notably a limit of ~1024 file descriptors. Now that
      better selectors are available, this should make can_read() faster and
      able to accomodate more clients. See #1115 and #486
      
      2. Check whether a socket is ready for a command to be sent. This doubles
      as a health check. It ensures that the socket is available for writing,
      has no data to read and has no known errors. Anytime a socket is
      disconnected or hung up, data is available to be read, typically zero bytes.
      
      ConnectionPool.get_connection has been modified to ensure that connections
      it returns are connected and are ready for a command to be sent. If
      get_connection encounters a case where a socket isn't ready for a command
      the connection is reconnected and checked again.
      
      TODO: more tests for this stuff. implement EPoll and KQueue selectors.
      
      Fixes #1115
      Fixes #486
      cfa2bc9b