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
|
||||
-- end
|
||||
|
||||
logging.debug([[running sharedstate_recv_table
|
||||
]], util.traceback())
|
||||
pings.sharedstate_recv_table(state_queue)
|
||||
sharedstate.clear()
|
||||
end
|
||||
@ -247,6 +249,8 @@ end
|
||||
--Syncs the full shared state table. This should be used sparsely
|
||||
function sharedstate.sync()
|
||||
if host:isHost() then
|
||||
logging.debug([[running sharedstate_recv_table
|
||||
]], util.traceback())
|
||||
ping.sharedstate_recv_table(get_table())
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user