This commit is contained in:
DuvelCorp
2026-03-31 21:25:35 +02:00
parent 680ddcba8a
commit 51d4c785fa
55 changed files with 5157 additions and 2530 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ VC.lastPublishedAt = nil
VC.joinAt = nil
VC.notified = false
VC._invalidVersionWarned = false
VC.maxPersistedPeers = 200
VC.maxPersistedPeers = 10000
VC.seenPeers = VC.seenPeers or {}
local function VC_GetTimeNow()
@@ -141,7 +141,7 @@ end
function VC:PrunePersistedPeers(limit)
local maxCount = tonumber(limit) or tonumber(self.maxPersistedPeers) or 200
if maxCount <= 0 then
maxCount = 200
maxCount = 10000
end
if type(self.seenPeers) ~= "table" then
return