This repository has been archived on 2025-12-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
qmi-cloud/server/worker.js
Manuel Romero 19b234ac16 First commit
2019-11-25 16:08:55 +01:00

8 lines
306 B
JavaScript

import { queues, TF_APPLY_QUEUE, TF_DESTROY_QUEUE } from './queues';
var path = require("path");
queues[TF_APPLY_QUEUE].process("tf_apply_job", 10, path.resolve(__dirname, 'processor-apply.js'));
queues[TF_DESTROY_QUEUE].process("tf_destroy_job", 10, path.resolve(__dirname, 'processor-destroy.js'));