diff --git a/src/modules/recommend-music/index.ts b/src/modules/recommend-music/index.ts index 5f4dba7..16cb7fe 100644 --- a/src/modules/recommend-music/index.ts +++ b/src/modules/recommend-music/index.ts @@ -99,7 +99,10 @@ const vocaloidUrls = [ 'https://www.nicovideo.jp/watch/sm12343338', 'https://www.nicovideo.jp/watch/sm9375472', 'https://www.nicovideo.jp/watch/sm11489374', - 'https://www.nicovideo.jp/watch/sm13344892' + 'https://www.nicovideo.jp/watch/sm13344892', + 'https://www.nicovideo.jp/watch/sm3075492', + 'https://www.nicovideo.jp/watch/sm12850213', + 'https://www.nicovideo.jp/watch/sm10150980' // ** ] diff --git a/src/modules/server/index.ts b/src/modules/server/index.ts index fc9d84c..7c16392 100644 --- a/src/modules/server/index.ts +++ b/src/modules/server/index.ts @@ -38,7 +38,6 @@ export default class extends Module { @autobind private check() { const average = (arr) => arr.reduce((a, b) => a + b) / arr.length; - const cpuPercentages = this.statsLogs.map(s => s && (s.cpu_usage || s.cpu) * 100 || 0); const cpuPercentage = average(cpuPercentages); if (cpuPercentage >= 70) {