Skip to content

v1.1.2-2.9.x

Choose a tag to compare

@curreli curreli released this 05 May 18:09

Changes

  • Redis.ec now points to a separate, lazily initialized callback executor
    • The new callback thread pool can be used to register callbacks on asynchronous commands and will only be initialized (and shutdown) if it is explicitly imported, e.g. import redis.ec
    • The main executor is now called internal and cannot be used externally (improve performance and most importantly prevents deadlocks)
  • Executors now default to a cached thread pool with a configurable maximum number of concurrent tasks. If the maximum number of tasks is reached then the executor will block (prevents using too much memory under high load). Both executors can be configured in reference.conf