mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature: thread-it: get rid (#438)
This commit is contained in:
parent
99ad0c217d
commit
4ab4be124b
4 changed files with 2 additions and 10 deletions
|
|
@ -5,14 +5,12 @@ const {callbackify} = require('node:util');
|
|||
|
||||
const pullout = require('pullout');
|
||||
const ponse = require('ponse');
|
||||
const threadIt = require('thread-it');
|
||||
const {read} = require('redzip');
|
||||
|
||||
const root = require('../root');
|
||||
const isString = (a) => typeof a === 'string';
|
||||
const parse = threadIt(join(__dirname, 'worker'));
|
||||
const parse = require('./worker');
|
||||
|
||||
threadIt.init();
|
||||
// warm up
|
||||
parse('');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue