mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
removed redundant
This commit is contained in:
@@ -412,10 +412,6 @@ const METRIC_REALTIME_CONNECTIONS_MESSAGES_SENT = 'realtime.messages.sent';
|
||||
const METRIC_REALTIME_INBOUND = 'realtime.inbound';
|
||||
const METRIC_REALTIME_OUTBOUND = 'realtime.outbound';
|
||||
|
||||
// Presence API metrics
|
||||
const METRIC_PRESENCE_UPSERTED = 'presences.upserted';
|
||||
const METRIC_PRESENCE_DELETED = 'presence.deleted';
|
||||
|
||||
// Resource types
|
||||
const RESOURCE_TYPE_PROJECTS = 'projects';
|
||||
const RESOURCE_TYPE_FUNCTIONS = 'functions';
|
||||
|
||||
@@ -76,7 +76,6 @@ class Delete extends PlatformAction
|
||||
|
||||
(new PresenceState())->purgeListCache($dbForProject);
|
||||
|
||||
$usage->addMetric(METRIC_PRESENCE_DELETED, 1);
|
||||
$usage->addMetric(METRIC_USERS_PRESENCE, -1);
|
||||
|
||||
$queueForEvents
|
||||
|
||||
Reference in New Issue
Block a user