We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca99bb commit 2d9e3dbCopy full SHA for 2d9e3db
src/hope_dedup_engine/apps/faces/utils.py
@@ -28,5 +28,5 @@ def report_long_execution(
28
) -> Generator[None, None, None]:
29
start = time.time()
30
yield
31
- if total := time.time() - start > threshold_seconds:
+ if (total := time.time() - start) > threshold_seconds:
32
sentry_sdk.capture_message(f"Execution took {total} seconds: {message}")
0 commit comments