We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9283353 commit 12b18d7Copy full SHA for 12b18d7
src/sentry/digests/backends/redis.py
@@ -474,7 +474,7 @@ def unschedule():
474
# events to the timeline while we are trying to delete it.
475
pipeline.watch(timeline_key)
476
pipeline.multi()
477
- if connection.zcard(timeline_key) is 0:
+ if connection.zcard(timeline_key) == 0:
478
cleanup_records(pipeline)
479
pipeline.delete(make_last_processed_timestamp_key(timeline_key))
480
pipeline.zrem(make_schedule_key(self.namespace, SCHEDULE_STATE_READY), key)
0 commit comments