Fix K8s hang

pull/310/head
Frostebite 2022-01-12 23:15:24 +00:00
parent 99410df253
commit 50ee497ec9
3 changed files with 5 additions and 7 deletions

5
dist/index.js vendored
View File

@ -1937,10 +1937,9 @@ class Kubernetes {
timeout: 500000,
intervalBetweenAttempts: 15000,
});
// eslint-disable-next-line no-empty
}
catch (_a) {
cloud_runner_logger_1.default.log('failed to read the state of the job while cleaning up?');
}
catch (_a) { }
});
}
cleanupSharedResources(

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -159,9 +159,8 @@ class Kubernetes implements CloudRunnerProviderInterface {
intervalBetweenAttempts: 15000,
},
);
} catch {
CloudRunnerLogger.log('failed to read the state of the job while cleaning up?');
}
// eslint-disable-next-line no-empty
} catch {}
}
async cleanupSharedResources(