Skip to content

Commit

Permalink
Removes scheduled consumers in favor of long running processes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss committed Sep 29, 2023
1 parent 44a45c2 commit 9a51975
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 52 deletions.
1 change: 0 additions & 1 deletion src/dispatch/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,6 @@ def dispatch_scheduler():
from .incident.scheduled import (
incident_auto_tagger, # noqa
)
from .signal.scheduled import consume_signals # noqa
from .incident_cost.scheduled import calculate_incidents_response_cost # noqa
from .monitor.scheduled import sync_active_stable_monitors # noqa
from .report.scheduled import incident_report_reminders # noqa
Expand Down
2 changes: 1 addition & 1 deletion src/dispatch/plugins/dispatch_aws/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def consume(self, db_session, project):
),
)
metrics_provider.counter(
"sqs.signal.received",
"aws-sqs-signal-consumer.signal.received",
tags={
"signalName": signal_instance.signal.name,
"externalId": signal_instance.signal.external_id,
Expand Down
50 changes: 0 additions & 50 deletions src/dispatch/signal/scheduled.py

This file was deleted.

0 comments on commit 9a51975

Please sign in to comment.