made the copper repeat timeout configurable
This commit is contained in:
parent
10615bfecb
commit
d2a0fa5910
@ -1,5 +1,6 @@
|
||||
net = {}
|
||||
net.id = computer.address():sub(1,8)
|
||||
net.delay = 2
|
||||
net.np = 4957
|
||||
net.cache = true
|
||||
net.cache_time = 16
|
||||
@ -89,7 +90,7 @@ spawn("copperd",function() print(xpcall(function ()
|
||||
end
|
||||
end
|
||||
for k,v in pairs(ps) do
|
||||
if v.lt < computer.uptime()-1 then
|
||||
if v.lt < computer.uptime()-net.delay then
|
||||
if fcache[v.nid] and net.cache then
|
||||
local lma = fcache[v.nid][1]
|
||||
local rma = fcache[v.nid][2]
|
||||
|
Loading…
Reference in New Issue
Block a user