mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fallback retry only on error
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
4290fc5132
commit
650224fdb1
1 file changed
+1
-1
@@ -321,7 +321,7 @@ export abstract class KubeObjectStore<T extends KubeObject = any> extends ItemSt
|
||||
});
|
||||
});
|
||||
}, 1000);
|
||||
} else { // not sure what to do, best to retry
|
||||
} else if(error) { // not sure what to do, best to retry
|
||||
if (timedRetry) clearTimeout(timedRetry);
|
||||
|
||||
timedRetry = setTimeout(() => {
|
||||
|
||||
Reference in new issue
Block a user