diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-21 17:21:55 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:59 +0200 |
commit | 3e390abcc1781fc64bc55e7a36a175d0fd9deeb4 (patch) | |
tree | e874c1b949609bf041372e7c261b0ef349e1d56b /Bugzilla/Quantum/Plugin | |
parent | 64830ef3c076b72d9da3eb590f22bc4d722c8d4c (diff) | |
download | bugzilla-3e390abcc1781fc64bc55e7a36a175d0fd9deeb4.tar.gz bugzilla-3e390abcc1781fc64bc55e7a36a175d0fd9deeb4.tar.xz |
move PerlInitChildHandler to mojolicious
Diffstat (limited to 'Bugzilla/Quantum/Plugin')
-rw-r--r-- | Bugzilla/Quantum/Plugin/Glue.pm | 5 |
1 files changed, 4 insertions, 1 deletions
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 }; } ); |