mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Reorder fields in some classes for more compact memory layout
This commit is contained in:
parent
f849f024e5
commit
9b15db25f6
11 changed files with 22 additions and 24 deletions
|
@ -118,14 +118,14 @@ public:
|
|||
* The node's role within the cluster. E.g. manager, logger, worker.
|
||||
*/
|
||||
BifEnum::Supervisor::ClusterRole role;
|
||||
/**
|
||||
* The host/IP at which the cluster node is listening for connections.
|
||||
*/
|
||||
std::string host;
|
||||
/**
|
||||
* The TCP port number at which the cluster node listens for connections.
|
||||
*/
|
||||
int port;
|
||||
/**
|
||||
* The host/IP at which the cluster node is listening for connections.
|
||||
*/
|
||||
std::string host;
|
||||
/**
|
||||
* The interface name from which the node read/analyze packets.
|
||||
* Typically used by worker nodes.
|
||||
|
@ -324,10 +324,10 @@ private:
|
|||
|
||||
Config config;
|
||||
pid_t stem_pid;
|
||||
int last_signal = -1;
|
||||
std::unique_ptr<detail::PipePair> stem_pipe;
|
||||
detail::LineBufferedPipe stem_stdout;
|
||||
detail::LineBufferedPipe stem_stderr;
|
||||
int last_signal = -1;
|
||||
detail::Flare signal_flare;
|
||||
NodeMap nodes;
|
||||
std::string msg_buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue