commit f7516de0ac4c53db6e52fbf8377ef637950a5d97 from: Sergey Bronnikov via: Sergey Bronnikov date: Thu May 30 17:34:16 2024 UTC tarantool/vinyl: enable trace when DEV is set commit - 2816d5aac37df73358c276844cd994bf7b175637 commit + f7516de0ac4c53db6e52fbf8377ef637950a5d97 blob - 29c55903c4f2667945b80c278e21b96c39e591c4 blob + 87816eeceb587591d668d44b037f4f9e42f570d2 --- tarantool-tools/vinyl.lua +++ tarantool-tools/vinyl.lua @@ -33,7 +33,9 @@ local function trace(event, line) -- luacheck: no unus end -- https://www.lua.org/pil/23.2.html --- debug.sethook(trace, "l") +if os.getenv('DEV') then + debug.sethook(trace, "l") +end local function dict_keys(t) assert(next(t) ~= nil)