sharedstate: add debug when syncing full table

This commit is contained in:
NullBite 2023-06-28 01:35:07 -04:00
parent a65b6b323d
commit 33d6ecaa03
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -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