-
A customer just sent me these lines grepped from his server log:
this is code running with mojo 8.52 ... any ideas how it can be that the request_id repeats so quickly ? These 3 instances are only a fragment of the log. There are 5 more repeats until 2020-12-10 14:56:05.64320. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
could it be that mojo/lib/Mojo/Message/Request.pm Line 9 in 907dd0e only gets executed at server (prefork) startup time and every child starts of with the same settings ? |
Beta Was this translation helpful? Give feedback.
-
Does #1619 resolve your issue? |
Beta Was this translation helpful? Give feedback.
-
The problem should be fixed with 907dd0e...c54ca52. |
Beta Was this translation helpful? Give feedback.
-
What happens if I do: package My::App;
use Mojo::Base qw(Mojolicious);
use Mojo::Message::Request;
sub startup {
my $app = shift;
Mojo::Message::Request->new->request_id;
...
} wouldn't that cause |
Beta Was this translation helpful? Give feedback.
The problem should be fixed with 907dd0e...c54ca52.