mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
Remove needless log
This commit is contained in:
parent
9de6408557
commit
b3f92e7608
@ -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 New Issue
Block a user