From 5da849063bcd1535d8b0841425b0590bd5f01c52 Mon Sep 17 00:00:00 2001 From: dev6699 Date: Mon, 30 Dec 2024 04:39:50 +0800 Subject: [PATCH] fix: db.js expire server stats comment typo (#6633) --- db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.js b/db.js index dd6e099b..d96ed501 100644 --- a/db.js +++ b/db.js @@ -30,7 +30,7 @@ module.exports.CreateDB = function (parent, func) { var Datastore = null; var expireEventsSeconds = (60 * 60 * 24 * 20); // By default, expire events after 20 days (1728000). (Seconds * Minutes * Hours * Days) var expirePowerEventsSeconds = (60 * 60 * 24 * 10); // By default, expire power events after 10 days (864000). (Seconds * Minutes * Hours * Days) - var expireServerStatsSeconds = (60 * 60 * 24 * 30); // By default, expire power events after 30 days (2592000). (Seconds * Minutes * Hours * Days) + var expireServerStatsSeconds = (60 * 60 * 24 * 30); // By default, expire server stats after 30 days (2592000). (Seconds * Minutes * Hours * Days) const common = require('./common.js'); const path = require('path'); const fs = require('fs');