Replit Commit

This commit is contained in:
Dunemask 2022-05-05 12:35:47 +00:00
commit f49f965a42
41 changed files with 32720 additions and 0 deletions

12
lib/core/internal-exec.js Normal file
View file

@ -0,0 +1,12 @@
import { INFO } from "../util/logging.js";
import Executor from "../sockets/clients/Executor.js";
export default (job) => {
INFO("EXEC", "Starting Internal Executor");
try {
const exec = new Executor("http://localhost:52000", job);
exec.runJob();
} catch (err) {
ERR("EXEC", err);
}
};