in reply to Mojolicious / Hypnotoad / concurrency / data scope
Looking at the code, it seems the context is stored in a singleton object and would also persist for the life time of the worker process.
Why not rebuild/reset the context for each new request, or localize it as the example you linked to shows?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Mojolicious / Hypnotoad / concurrency / data scope
by 1nickt (Canon) on Jan 07, 2018 at 15:42 UTC |
In Section
Seekers of Perl Wisdom