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 43360b2 commit fc1dc6aCopy full SHA for fc1dc6a
api/main.py
@@ -114,6 +114,7 @@ async def subscription_cleanup_task():
114
cleaned = await pubsub.cleanup_stale_subscriptions(
115
SUBSCRIPTION_MAX_AGE_MINUTES)
116
if cleaned > 0:
117
+ metrics.add('subscriptions_cleaned', 1)
118
print(f"Cleaned up {cleaned} stale subscriptions")
119
except (ConnectionError, OSError, RuntimeError) as e:
120
print(f"Subscription cleanup error: {e}")
0 commit comments