diff options
Diffstat (limited to 'Bugzilla/Quantum')
-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 }; } ); |