mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
cluster/zeromq: Adapt for OnLoopProcess changes
This commit is contained in:
parent
23405194a0
commit
827eccb732
2 changed files with 1 additions and 5 deletions
|
@ -77,8 +77,6 @@ ZeroMQBackend::~ZeroMQBackend() {
|
|||
}
|
||||
|
||||
void ZeroMQBackend::DoInitPostScript() {
|
||||
ThreadedBackend::DoInitPostScript();
|
||||
|
||||
listen_xpub_endpoint =
|
||||
zeek::id::find_val<zeek::StringVal>("Cluster::Backend::ZeroMQ::listen_xpub_endpoint")->ToStdString();
|
||||
listen_xsub_endpoint =
|
||||
|
@ -98,8 +96,8 @@ void ZeroMQBackend::DoInitPostScript() {
|
|||
event_subscription = zeek::event_registry->Register("Cluster::Backend::ZeroMQ::subscription");
|
||||
}
|
||||
|
||||
|
||||
void ZeroMQBackend::DoTerminate() {
|
||||
ThreadedBackend::DoTerminate();
|
||||
ZEROMQ_DEBUG("Shutting down ctx");
|
||||
ctx.shutdown();
|
||||
ZEROMQ_DEBUG("Joining self_thread");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue