summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;