parent
129f652dc2
commit
a38e4b0b14
11 changed files with 40 additions and 47 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import * as httpSignature from 'http-signature';
|
||||
|
||||
import config from '@/config/index';
|
||||
import { program } from '../argv';
|
||||
import { envOption } from '../env';
|
||||
|
||||
import processDeliver from './processors/deliver';
|
||||
import processInbox from './processors/inbox';
|
||||
|
|
@ -200,7 +200,7 @@ export function createCleanRemoteFilesJob() {
|
|||
}
|
||||
|
||||
export default function() {
|
||||
if (!program.onlyServer) {
|
||||
if (!envOption.onlyServer) {
|
||||
deliverQueue.process(config.deliverJobConcurrency || 128, processDeliver);
|
||||
inboxQueue.process(config.inboxJobConcurrency || 16, processInbox);
|
||||
processDb(dbQueue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue