summaryrefslogtreecommitdiff
path: root/src/processor/index.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-04-04 00:25:42 +0900
committerGitHub <noreply@github.com>2018-04-04 00:25:42 +0900
commitb4ebf4033f553d068cad494402aa675193d09fa3 (patch)
tree8dfdd27810c5112d1bd26e3d65575d16e670ac28 /src/processor/index.ts
parentMerge pull request #1387 from akihikodaki/duplicate (diff)
parentImplement Delete activity (diff)
downloadmisskey-b4ebf4033f553d068cad494402aa675193d09fa3.tar.gz
misskey-b4ebf4033f553d068cad494402aa675193d09fa3.tar.bz2
misskey-b4ebf4033f553d068cad494402aa675193d09fa3.zip
Merge pull request #1388 from akihikodaki/duplicate
Implement Delete activity
Diffstat (limited to 'src/processor/index.ts')
-rw-r--r--src/processor/index.ts23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/processor/index.ts b/src/processor/index.ts
index cd271d3720..172048ddae 100644
--- a/src/processor/index.ts
+++ b/src/processor/index.ts
@@ -1,13 +1,18 @@
import queue from '../queue';
+import db from './db';
import http from './http';
-/*
- 256 is the default concurrency limit of Mozilla Firefox and Google
- Chromium.
+export default () => {
+ queue.process('db', db);
- a8af215e691f3a2205a3758d2d96e9d328e100ff - chromium/src.git - Git at Google
- https://chromium.googlesource.com/chromium/src.git/+/a8af215e691f3a2205a3758d2d96e9d328e100ff
- Network.http.max-connections - MozillaZine Knowledge Base
- http://kb.mozillazine.org/Network.http.max-connections
-*/
-export default () => queue.process('http', 256, http);
+ /*
+ 256 is the default concurrency limit of Mozilla Firefox and Google
+ Chromium.
+
+ a8af215e691f3a2205a3758d2d96e9d328e100ff - chromium/src.git - Git at Google
+ https://chromium.googlesource.com/chromium/src.git/+/a8af215e691f3a2205a3758d2d96e9d328e100ff
+ Network.http.max-connections - MozillaZine Knowledge Base
+ http://kb.mozillazine.org/Network.http.max-connections
+ */
+ queue.process('http', 256, http);
+};