chore: remove dead code

This commit is contained in:
siiky 2025-06-03 11:43:30 +01:00
parent afe8299ae7
commit c233aa9aff
2 changed files with 0 additions and 4 deletions

View file

@ -78,9 +78,6 @@ const populateSettings = function (req, res, next) {
const { needsSettingsReload, settingsCache } = state
const operatorId = res.locals.operatorId
const versionId = req.headers['config-version']
if (versionId !== state.oldVersionId) {
state.oldVersionId = versionId
}
try {
// Priority of configs to retrieve

View file

@ -3,7 +3,6 @@ const SETTINGS_CACHE_REFRESH = 3600
module.exports = (function () {
return {
oldVersionId: 'unset',
needsSettingsReload: {},
settingsCache: new NodeCache({
stdTTL: SETTINGS_CACHE_REFRESH,