Replit Commit
This commit is contained in:
commit
f49f965a42
41 changed files with 32720 additions and 0 deletions
12
lib/core/internal-exec.js
Normal file
12
lib/core/internal-exec.js
Normal 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);
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue