1
0
forked from MTSR/mapserver

adjust warning

This commit is contained in:
Thomas Rudin 2019-04-04 17:54:50 +02:00
parent 75f2a7f2fe
commit be157583ee

View File

@ -97,8 +97,8 @@ function send_stats()
local t2 = minetest.get_us_time() local t2 = minetest.get_us_time()
local post_time = t2 - t1 local post_time = t2 - t1
if post_time > 10000 then if post_time > 1000000 then -- warn if over a second
minetest.log("warning", "[mapserver-bridge] post took " .. process_time .. " us") minetest.log("warning", "[mapserver-bridge] post took " .. post_time .. " us")
end end
-- TODO: error-handling -- TODO: error-handling