mirror of https://github.com/celery/kombu.git
f246a66bed
* Prevent spurious exception on Resource.resize(0) `Resource.resize()` raises an exception if the pool is in use and the new size is smaller than the old size. However, it also raises this exception when the new size is zero, which should correspond to disabling the pool. Instead of shrinking the pool to zero and releasing all resources, we can simply dequeue all resources and forget about them. * Add test for removing pool limit when in use |
||
---|---|---|
.. | ||
integration | ||
unit | ||
__init__.py | ||
mocks.py |