Skip to content

Commit

Permalink
Upgrade redis
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmacarthur committed Mar 5, 2024
1 parent 03e57d1 commit dfa7acf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
2 changes: 1 addition & 1 deletion arq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ async def close(self) -> None:
await self.pool.delete(self.health_check_key)
if self.on_shutdown:
await self.on_shutdown(self.ctx)
await self.pool.close(close_connection_pool=True)
await self.pool.aclose(close_connection_pool=True)
self._pool = None

def __repr__(self) -> str:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ classifiers = [
]
requires-python = '>=3.7'
dependencies = [
'redis[hiredis]>=4.2.0',
'redis[hiredis]>=5.0.1',
'click>=8.0',
'typing-extensions>=4.1.0',
]
Expand Down
1 change: 0 additions & 1 deletion requirements/linting.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ flake8-quotes>=3,<4
isort[colors]>=5,<6
mypy>=1,<2
types-pytz
types_redis>=4
25 changes: 4 additions & 21 deletions requirements/linting.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements/linting.in
#
# This file was autogenerated by uv via the following command:
# uv pip compile requirements/linting.in -o requirements/linting.txt
black==22.6.0
# via -r requirements/linting.in
click==8.1.3
# via black
colorama==0.4.5
# via isort
flake8==5.0.4
# via
# -r requirements/linting.in
# flake8-quotes
# via flake8-quotes
flake8-quotes==3.3.1
# via -r requirements/linting.in
isort[colors]==5.10.1
# via -r requirements/linting.in
isort==5.10.1
mccabe==0.7.0
# via flake8
mypy==1.3.0
# via -r requirements/linting.in
mypy-extensions==1.0.0
# via
# black
Expand All @@ -34,13 +24,6 @@ pycodestyle==2.9.1
# via flake8
pyflakes==2.5.0
# via flake8
tomli==2.0.1
# via
# black
# mypy
types-pytz==2022.2.1.0
# via -r requirements/linting.in
types-redis==4.5.5.2
# via -r requirements/linting.in
typing-extensions==4.3.0
# via mypy

0 comments on commit dfa7acf

Please sign in to comment.