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 4e1b411 commit 3e099e9Copy full SHA for 3e099e9
src/plus/integrations/models/integration.ts
@@ -237,6 +237,7 @@ export abstract class IntegrationBase<
237
requestSessionSyncForUsecase(syncReqUsecase: SyncReqUsecase): void {
238
this._syncRequestsPerFailedUsecase.add(syncReqUsecase);
239
}
240
+
241
private static readonly requestExceptionLimit = 5;
242
private requestExceptionCount = 0;
243
@@ -414,6 +415,10 @@ export abstract class IntegrationBase<
414
415
source: source,
416
},
417
);
418
419
+ if (session?.expiresAt != null && session.expiresAt < new Date()) {
420
+ session = null;
421
+ }
422
} catch (ex) {
423
await this.container.storage.deleteWorkspace(this.connectedKey);
424
0 commit comments