Skip to content

HttpContextProvider is not threadsafe. #7

@frederikspang

Description

@frederikspang

Using class variables is by nature shared between threads. Meaning this causes problems for all threaded web servers, such as https://github.com/puma/puma - One of the most popular Rails web servers.

https://github.com/queueit/KnownUser.V3.RubyOnRails/blob/master/lib/queueit_knownuserv3/httpcontext_provider.rb#L77-L91

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions