Fix K8s hang
parent
99410df253
commit
50ee497ec9
|
|
@ -1937,10 +1937,9 @@ class Kubernetes {
|
||||||
timeout: 500000,
|
timeout: 500000,
|
||||||
intervalBetweenAttempts: 15000,
|
intervalBetweenAttempts: 15000,
|
||||||
});
|
});
|
||||||
|
// eslint-disable-next-line no-empty
|
||||||
}
|
}
|
||||||
catch (_a) {
|
catch (_a) { }
|
||||||
cloud_runner_logger_1.default.log('failed to read the state of the job while cleaning up?');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
cleanupSharedResources(
|
cleanupSharedResources(
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -159,9 +159,8 @@ class Kubernetes implements CloudRunnerProviderInterface {
|
||||||
intervalBetweenAttempts: 15000,
|
intervalBetweenAttempts: 15000,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
} catch {
|
// eslint-disable-next-line no-empty
|
||||||
CloudRunnerLogger.log('failed to read the state of the job while cleaning up?');
|
} catch {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async cleanupSharedResources(
|
async cleanupSharedResources(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue