Skip to content

Commit ba4ef65

Browse files
author
Andrei Neagu
committed
fixed issue
1 parent 7575aa1 commit ba4ef65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/service-library/src/servicelib/long_running_tasks/client_long_running_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ async def cleanup_store(self, lrt_namespace: LRTNamespace) -> None:
4646
keys_to_remove,
4747
lrt_namespace,
4848
)
49-
await self._redis.delete(*keys_to_remove)
49+
if len(keys_to_remove) > 0:
50+
await self._redis.delete(*keys_to_remove)

0 commit comments

Comments
 (0)