mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 13:25:44 +01: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 { createQueue } from 'kue';
|
||||||
import * as debug from 'debug';
|
|
||||||
|
|
||||||
import config from '../config';
|
import config from '../config';
|
||||||
import db from './processors/db';
|
import db from './processors/db';
|
||||||
import http from './processors/http';
|
import http from './processors/http';
|
||||||
|
|
||||||
const log = debug('misskey:queue');
|
|
||||||
|
|
||||||
const queue = createQueue({
|
const queue = createQueue({
|
||||||
redis: {
|
redis: {
|
||||||
port: config.redis.port,
|
port: config.redis.port,
|
||||||
|
@ -16,8 +13,6 @@ const queue = createQueue({
|
||||||
});
|
});
|
||||||
|
|
||||||
export function createHttp(data) {
|
export function createHttp(data) {
|
||||||
log(`HTTP job created: ${JSON.stringify(data)}`);
|
|
||||||
|
|
||||||
return queue
|
return queue
|
||||||
.create('http', data)
|
.create('http', data)
|
||||||
.attempts(16)
|
.attempts(16)
|
||||||
|
|
Loading…
Reference in a new issue