mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Add Broker::max_live_threads and Broker::max_pcap_threads tunables
These may be used to change the number of scheduler threads that the underlying CAF library creates. In pcap mode, it's currently hardcoded to the minimal 4 threads due to potentially significant overhead in CAF.
This commit is contained in:
parent
6752ffcc8e
commit
c9fe9a943c
5 changed files with 55 additions and 17 deletions
|
@ -339,9 +339,14 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
class BrokerConfig : public broker::configuration {
|
||||
public:
|
||||
BrokerConfig(broker::broker_options options);
|
||||
};
|
||||
|
||||
class BrokerState {
|
||||
public:
|
||||
BrokerState(broker::broker_options options);
|
||||
BrokerState(BrokerConfig config);
|
||||
broker::endpoint endpoint;
|
||||
broker::subscriber subscriber;
|
||||
broker::status_subscriber status_subscriber;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue