Updated Tables
This commit is contained in:
parent
1b650070d7
commit
7db1a3456b
13 changed files with 192 additions and 9 deletions
|
@ -1,9 +1,11 @@
|
|||
import { v4 } from "uuid";
|
||||
import applyJob from "./kubernetes.js";
|
||||
|
||||
export default class JobManager {
|
||||
constructor(clientMaxJobs) {
|
||||
this.clientMaxJobs = clientMaxJobs;
|
||||
const maxJobs = process.env.MAX_JOBS ? parseInt(process.env.MAX_JOBS) : 3;
|
||||
|
||||
class JobManager {
|
||||
constructor() {
|
||||
this.clientMaxJobs = maxJobs;
|
||||
this.clients = {};
|
||||
}
|
||||
|
||||
|
@ -53,3 +55,5 @@ export default class JobManager {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default new JobManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue