From 3e390abcc1781fc64bc55e7a36a175d0fd9deeb4 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 21 Jun 2018 11:21:55 -0400 Subject: move PerlInitChildHandler to mojolicious --- Bugzilla/Quantum/Plugin/Glue.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Quantum') diff --git a/Bugzilla/Quantum/Plugin/Glue.pm b/Bugzilla/Quantum/Plugin/Glue.pm index 07ac10c49..ef4a291f8 100644 --- a/Bugzilla/Quantum/Plugin/Glue.pm +++ b/Bugzilla/Quantum/Plugin/Glue.pm @@ -12,6 +12,7 @@ use Try::Tiny; use Bugzilla::Constants; use Bugzilla::Quantum::Template; use Bugzilla::Logging; +use Bugzilla::RNG (); use JSON::MaybeXS qw(decode_json); sub register { @@ -39,7 +40,9 @@ sub register { Mojo::IOLoop->next_tick( sub { - + Bugzilla::RNG::srand(); + srand(); + eval { Bugzilla->dbh->ping }; } ); -- cgit v1.2.3-24-g4f1b