Skip to content

Commit 3718c38

Browse files
committed
added many tests
1 parent 1e4f1ef commit 3718c38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/service-library/src/servicelib/redis/_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def _wrapper(*args: P.args, **kwargs: P.kwargs) -> R:
119119

120120
res = await work_task
121121
auto_extend_lock_task.cancel()
122-
return res
122+
return res
123123

124124
except BaseExceptionGroup as eg:
125125
# Separate exceptions into LockLostError and others

packages/service-library/src/servicelib/redis/_semaphore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ async def _periodic_renewer() -> None:
402402
# Cancel renewal task (work is done)
403403
renewal_task.cancel()
404404

405-
return result
405+
return result
406406

407407
except BaseExceptionGroup as eg:
408408
# Handle exceptions similar to exclusive decorator

0 commit comments

Comments
 (0)