Skip to content

Commit 593a61b

Browse files
Jerzy Kurowskisamuelcolvin
andauthored
fix: info commands are not allowed inside transactions at least in redis 6.2.3 (#338)
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
1 parent 5e7152b commit 593a61b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arq/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def pool_factory(*args: Any, **kwargs: Any) -> ArqRedis:
282282

283283

284284
async def log_redis_info(redis: 'Redis[bytes]', log_func: Callable[[str], Any]) -> None:
285-
async with redis.pipeline(transaction=True) as pipe:
285+
async with redis.pipeline(transaction=False) as pipe:
286286
pipe.info(section='Server') # type: ignore[unused-coroutine]
287287
pipe.info(section='Memory') # type: ignore[unused-coroutine]
288288
pipe.info(section='Clients') # type: ignore[unused-coroutine]

0 commit comments

Comments
 (0)