From 40849a5aa8ac246d81884ffc6b2d1099ff880745 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Apr 2018 07:34:33 +0900 Subject: [PATCH] :v: --- docs/manage.ja.md | 13 +++++++++++++ src/queue/index.ts | 1 + 2 files changed, 14 insertions(+) create mode 100644 docs/manage.ja.md diff --git a/docs/manage.ja.md b/docs/manage.ja.md new file mode 100644 index 0000000000..d56ed4c19b --- /dev/null +++ b/docs/manage.ja.md @@ -0,0 +1,13 @@ +# 運営ガイド + +## ジョブキューの状態を調べる +Misskeyのディレクトリで: +``` shell +node_modules/kue/bin/kue-dashboard -p 3050 +``` +ポート3050にアクセスするとUIが表示されます + +## ユーザーを凍結する +``` shell +node cli/suspend (ユーザーID) +``` diff --git a/src/queue/index.ts b/src/queue/index.ts index fd973b077e..8338d8398c 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -21,6 +21,7 @@ export function createHttp(data) { export function deliver(user, content, to) { createHttp({ + title: 'deliver', type: 'deliver', user, content,