diff --git a/Changes b/Changes index 240b626..3ae7bfb 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ -10.26 2023-02-03 +10.26 2023-11-10 - Added type information to worker status. + - Improved workers by calling srand() after starting a new job process. 10.25 2022-06-24 - Added workers field to stats methods in Minion and Minion::Backend::Pg. diff --git a/lib/Minion/Job.pm b/lib/Minion/Job.pm index 63c9b5a..caae539 100644 --- a/lib/Minion/Job.pm +++ b/lib/Minion/Job.pm @@ -81,6 +81,7 @@ sub start { Mojo::IOLoop->reset; local $SIG{CHLD} = local $SIG{INT} = local $SIG{TERM} = local $SIG{QUIT} = 'DEFAULT'; local $SIG{USR1} = local $SIG{USR2} = 'IGNORE'; + srand; # Child if (defined(my $err = $self->execute)) { $self->fail($err) }