various changes

This commit is contained in:
2023-08-23 11:58:37 +02:00
parent eacaebd84b
commit c3179194b8
9 changed files with 102 additions and 49 deletions

View File

@@ -208,7 +208,7 @@ const gc = () => {
*/
setInterval( () => {
gc();
}, parseInt( settings.gcInterval ) );
}, parseInt( settings.gcInterval ) * 1000 );
// TODO: Build garbage collector for DB (parse DB every so often (get from settings)
// and delete all items where timestamp is older than a certain amount of time (get from settings))