sharedstate: add debug when syncing full table
This commit is contained in:
parent
a65b6b323d
commit
33d6ecaa03
@ -227,6 +227,8 @@ function sharedstate.commit()
|
|||||||
-- send_queue[key]=t
|
-- send_queue[key]=t
|
||||||
-- end
|
-- end
|
||||||
|
|
||||||
|
logging.debug([[running sharedstate_recv_table
|
||||||
|
]], util.traceback())
|
||||||
pings.sharedstate_recv_table(state_queue)
|
pings.sharedstate_recv_table(state_queue)
|
||||||
sharedstate.clear()
|
sharedstate.clear()
|
||||||
end
|
end
|
||||||
@ -247,6 +249,8 @@ end
|
|||||||
--Syncs the full shared state table. This should be used sparsely
|
--Syncs the full shared state table. This should be used sparsely
|
||||||
function sharedstate.sync()
|
function sharedstate.sync()
|
||||||
if host:isHost() then
|
if host:isHost() then
|
||||||
|
logging.debug([[running sharedstate_recv_table
|
||||||
|
]], util.traceback())
|
||||||
ping.sharedstate_recv_table(get_table())
|
ping.sharedstate_recv_table(get_table())
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user