redis-allocator 0.5.1__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {redis_allocator-0.5.1/redis_allocator.egg-info → redis_allocator-0.5.2}/PKG-INFO +1 -1
  2. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/pyproject.toml +1 -1
  3. redis_allocator-0.5.2/redis_allocator/_version.py +1 -0
  4. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator/allocator.py +1 -1
  5. {redis_allocator-0.5.1 → redis_allocator-0.5.2/redis_allocator.egg-info}/PKG-INFO +1 -1
  6. redis_allocator-0.5.1/redis_allocator/_version.py +0 -1
  7. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/LICENSE +0 -0
  8. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/README.md +0 -0
  9. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator/__init__.py +0 -0
  10. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator/lock.py +0 -0
  11. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator/task_queue.py +0 -0
  12. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator.egg-info/SOURCES.txt +0 -0
  13. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator.egg-info/dependency_links.txt +0 -0
  14. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator.egg-info/requires.txt +0 -0
  15. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/redis_allocator.egg-info/top_level.txt +0 -0
  16. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/setup.cfg +0 -0
  17. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/setup.py +0 -0
  18. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/tests/__init__.py +0 -0
  19. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/tests/conftest.py +0 -0
  20. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/tests/test_allocator.py +0 -0
  21. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/tests/test_lock.py +0 -0
  22. {redis_allocator-0.5.1 → redis_allocator-0.5.2}/tests/test_task_queue.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redis-allocator
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Redis-based resource allocation system.
5
5
  Home-page: https://github.com/invoker-bot/RedisAllocator-python
6
6
  Author: Invoker Bot
@@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'
4
4
 
5
5
  [tool.commitizen]
6
6
  name = "cz_conventional_commits"
7
- version = "0.5.1"
7
+ version = "0.5.2"
8
8
  tag_format = "v$version"
9
9
 
10
10
  [tool.commitizen.version_files]
@@ -0,0 +1 @@
1
+ __version__ = '0.5.2'
@@ -412,7 +412,7 @@ class DefaultRedisAllocatorPolicy(RedisAllocatorPolicy[U]):
412
412
 
413
413
  def refresh_pool_all(self, allocator: 'RedisAllocator[U]'):
414
414
  allocator.clear()
415
- for _ in range(self.updater.params):
415
+ for _ in range(len(self.updater.params)):
416
416
  self.refresh_pool(allocator)
417
417
 
418
418
  def malloc(self, allocator: 'RedisAllocator[U]', timeout: Timeout = 120,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redis-allocator
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Redis-based resource allocation system.
5
5
  Home-page: https://github.com/invoker-bot/RedisAllocator-python
6
6
  Author: Invoker Bot
@@ -1 +0,0 @@
1
- __version__ = '0.5.1'
File without changes