fix(worker): remove clear cache for events count
This commit is contained in:
@@ -75,6 +75,5 @@ const updateEventsCount = cacheable(async function updateEventsCount(
|
|||||||
: organization.subscriptionPeriodEventsCountExceededAt,
|
: organization.subscriptionPeriodEventsCountExceededAt,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
await getOrganizationByProjectIdCached.clear(projectId);
|
|
||||||
}
|
}
|
||||||
}, 60 * 60);
|
}, 60 * 60);
|
||||||
|
|||||||
Reference in New Issue
Block a user