summaryrefslogtreecommitdiffstats
path: root/scripts/cereal.pl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-01 16:52:36 +0200
committerDylan William Hardison <dylan@hardison.net>2018-04-01 16:52:36 +0200
commitab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5 (patch)
tree483da9c8b66f4444bb8a410e3d599c7484ad721e /scripts/cereal.pl
parentdaa2d6b1c40354ecce0e48e6c5ee686efe642c4b (diff)
parent2f8b999750cc700faf03c6aee1c53d1fc4df767f (diff)
downloadbugzilla-ab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5.tar.gz
bugzilla-ab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5.tar.xz
Merge branch 'master' into unstable
Diffstat (limited to 'scripts/cereal.pl')
-rwxr-xr-xscripts/cereal.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/cereal.pl b/scripts/cereal.pl
index d5b556451..bc4d8abd4 100755
--- a/scripts/cereal.pl
+++ b/scripts/cereal.pl
@@ -22,9 +22,12 @@ use Bugzilla::DaemonControl qw(catch_signal);
use Future;
use IO::Async::Loop;
use IO::Async::Protocol::LineStream;
+use IO::Handle;
$ENV{LOGGING_PORT} //= 5880;
+STDOUT->autoflush(1);
+
my $loop = IO::Async::Loop->new;
my $on_stream = sub {
my ($stream) = @_;
@@ -46,4 +49,4 @@ $loop->listen(
on_stream => $on_stream,
)->get;
-exit Future->wait_any(map { catch_signal($_, 0) } @signals)->get; \ No newline at end of file
+exit Future->wait_any(map { catch_signal($_, 0) } @signals)->get;