diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-08-14 08:21:25 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-08-14 08:21:25 +0900 |
| commit | bde20a1a651fca49cd2fe1806cba758602d7626c (patch) | |
| tree | b0d20d660da9f16435b9e5da4412ca21c88682e6 /src/daemons/notes-stats.ts | |
| parent | Merge pull request #2199 from syuilo/patch-2176 (diff) | |
| download | misskey-bde20a1a651fca49cd2fe1806cba758602d7626c.tar.gz misskey-bde20a1a651fca49cd2fe1806cba758602d7626c.tar.bz2 misskey-bde20a1a651fca49cd2fe1806cba758602d7626c.zip | |
Use deque instead of linked list
Diffstat (limited to 'src/daemons/notes-stats.ts')
| -rw-r--r-- | src/daemons/notes-stats.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemons/notes-stats.ts b/src/daemons/notes-stats.ts index 3bc0269dde..1de7a98523 100644 --- a/src/daemons/notes-stats.ts +++ b/src/daemons/notes-stats.ts @@ -1,11 +1,11 @@ import * as childProcess from 'child_process'; +import * as Deque from 'double-ended-queue'; import Xev from 'xev'; -import Queue from '../misc/queue'; const ev = new Xev(); export default function() { - const log = new Queue<any>(); + const log = new Deque<any>(); const p = childProcess.fork(__dirname + '/notes-stats-child.js'); |