Subject: [PATCH] Flush Connexion Importer Log on Request Completion

From: Jason Boyer <[email-masked]>
Date: Wed, 9 Aug 2023 14:06:03 -0400

Signed-off-by: Jason Boyer <[email-masked]>
---
 misc/bin/connexion_import_daemon.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/misc/bin/connexion_import_daemon.pl b/misc/bin/connexion_import_daemon.pl
index c7e06c3a7d..0d5e019108 100755
--- a/misc/bin/connexion_import_daemon.pl
+++ b/misc/bin/connexion_import_daemon.pl
@@ -418,6 +418,9 @@ sub response {
     my $self = shift;
     $self->log("Response: $_[0]");
     printf $_[0] . "\0";
+    my $log_fh = $self->{log_fh}
+      or return;
+		$log_fh->flush;
 }

-- 
2.39.2 (Apple Git-143)