Skip to content

Commit

Permalink
fix(ci): retrieve zmq dependency and fix gorgone engine module (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret authored Mar 10, 2023
1 parent b011f03 commit bcb84cd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gorgone/gorgone/modules/centreon/engine/class.pm
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,15 @@ sub action_enginecommand {

sub action_run {
my ($self, %options) = @_;


my $context;
{
local $SIG{__DIE__};
$context = ZMQ::FFI->new();
}

my $socket_log = gorgone::standard::library::connect_com(
context => $context,
zmq_type => 'ZMQ_DEALER',
name => 'gorgone-engine-'. $$,
logger => $self->{logger},
Expand Down

0 comments on commit bcb84cd

Please sign in to comment.