Skip to content

writing a global lua variable ('resty') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables #70

@jclivi

Description

@jclivi

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions