mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-28 05:43:08 +02:00
Remove needless log
This commit is contained in:
parent
1e8fe4c6a8
commit
eb0809ebb4
1 changed files with 0 additions and 5 deletions
|
@ -1,12 +1,9 @@
|
|||
import { createQueue } from 'kue';
|
||||
import * as debug from 'debug';
|
||||
|
||||
import config from '../config';
|
||||
import db from './processors/db';
|
||||
import http from './processors/http';
|
||||
|
||||
const log = debug('misskey:queue');
|
||||
|
||||
const queue = createQueue({
|
||||
redis: {
|
||||
port: config.redis.port,
|
||||
|
@ -16,8 +13,6 @@ const queue = createQueue({
|
|||
});
|
||||
|
||||
export function createHttp(data) {
|
||||
log(`HTTP job created: ${JSON.stringify(data)}`);
|
||||
|
||||
return queue
|
||||
.create('http', data)
|
||||
.attempts(16)
|
||||
|
|
Loading…
Reference in a new issue