lua-resty-mongol
lua-resty-mongol copied to clipboard
writing a global lua variable ('resty') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables
What's wrong with this?
_G write guard:12: writing a global lua variable ('resty') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables stack traceback: [C]: in function 'module' lualib/resty/mongol/init.lua:1: in main chunk [C]: in function 'require'