fix: call checkAndApplyUpdate after config refresh to ensure fresh data
This commit is contained in:
+1
-1
@@ -734,9 +734,9 @@ end
|
||||
local function backgroundSyncTask()
|
||||
pcall(refreshConfigOnce)
|
||||
while true do
|
||||
pcall(checkAndApplyUpdate)
|
||||
sleep(UPDATE_CHECK_INTERVAL)
|
||||
pcall(refreshConfigOnce)
|
||||
pcall(checkAndApplyUpdate)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user