forked from pinks/eris
14 lines
376 B
TypeScript
14 lines
376 B
TypeScript
import { pingWorkers } from "./pingWorkers.ts";
|
|
import { processJobs } from "./processJobs.ts";
|
|
import { returnHangedJobs } from "./returnHangedJobs.ts";
|
|
import { updateJobStatusMsgs } from "./updateJobStatusMsgs.ts";
|
|
|
|
export async function runAllTasks() {
|
|
await Promise.all([
|
|
processJobs(),
|
|
updateJobStatusMsgs(),
|
|
returnHangedJobs(),
|
|
pingWorkers(),
|
|
]);
|
|
}
|