enhance(server): separate job queue process (#9662)

* enhance(server): separate job queue process

* add commands for build with swc
This commit is contained in:
syuilo 2023-01-21 14:09:01 +09:00 committed by GitHub
parent 0b4a7e8166
commit 7e89e70934
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 27 deletions

View file

@ -54,7 +54,7 @@ export class ChartManagementService implements OnApplicationShutdown {
}
@bindThis
public async run() {
public async start() {
// 20分おきにメモリ情報をDBに書き込み
this.saveIntervalId = setInterval(() => {
for (const chart of this.charts) {