We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb45914 commit 9afcb99Copy full SHA for 9afcb99
packages/core/src/Providers/AWSCloudWatchProvider.ts
@@ -58,7 +58,7 @@ class AWSCloudWatchProvider implements LoggingProvider {
58
private _maxRetries = 5;
59
private _retryCount;
60
private _lastAttemptTime: number = 0;
61
- private _resetInterval: number = 1 * 60 * 1000; // 1 minutes
+ private _resetInterval: number = 3 * 60 * 1000; // 1 minutes
62
63
constructor(config?: AWSCloudWatchProviderOptions) {
64
this.configure(config);
@@ -506,6 +506,7 @@ class AWSCloudWatchProvider implements LoggingProvider {
506
507
try {
508
if (this._getDocUploadPermissibility()) {
509
+ this._lastAttemptTime = now;
510
await this._safeUploadLogEvents();
511
this._retryCount = 0; // Reset on success
512
if (this._retryCount > 0) {
0 commit comments