mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-20 15:26:06 +08:00
[client-sync] Don't report stuck sync processes to Sentry
Summary: Just to mixpanel. Addresses T8095 Test Plan: Meh Reviewers: mark, spang, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D4403
This commit is contained in:
parent
f6f8f16e25
commit
f82c72aa88
|
@ -95,12 +95,6 @@ class SyncProcessManager {
|
|||
const {time, activity} = SyncActivity.getLastSyncActivityForAccount(accountId);
|
||||
if (time < Date.now() - this.MAX_WORKER_SILENCE_MS) {
|
||||
const duration = Date.now() - time;
|
||||
NylasEnv.reportError(new Error("SyncProcessManager: Detected stuck sync process"), {
|
||||
rateLimit: {
|
||||
ratePerHour: 30,
|
||||
key: `SyncProcessManager:StuckProcess`,
|
||||
},
|
||||
})
|
||||
Actions.recordUserEvent('Stuck Sync Process', {
|
||||
accountId: accountId,
|
||||
lastActivityTime: time,
|
||||
|
|
Loading…
Reference in a new issue