@axa-fr/slimfaas-planet-saver 0.41.0 → 0.41.1-pr.1607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -154,7 +154,7 @@ export default class SlimFaasPlanetSaver {
|
|
|
154
154
|
this.errorCallback(errorMessage);
|
|
155
155
|
console.error('Error fetching slimfaas data:', errorMessage);
|
|
156
156
|
} finally {
|
|
157
|
-
if (this.
|
|
157
|
+
if (!this.cleanned) {
|
|
158
158
|
this.intervalId = setTimeout(() => {
|
|
159
159
|
this.fetchStatus();
|
|
160
160
|
}, this.interval);
|
|
@@ -180,9 +180,6 @@ export default class SlimFaasPlanetSaver {
|
|
|
180
180
|
startPolling() {
|
|
181
181
|
if (this.intervalId || !this.baseUrl || this.cleanned) return;
|
|
182
182
|
this.fetchStatus();
|
|
183
|
-
this.intervalId = setTimeout(() => {
|
|
184
|
-
this.fetchStatus();
|
|
185
|
-
}, this.interval);
|
|
186
183
|
}
|
|
187
184
|
|
|
188
185
|
/**
|