mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Add infrastructure for automated expiration of storage entries
This is used for backends that don't support expiration natively.
This commit is contained in:
parent
8dee733a7d
commit
d07d27453a
12 changed files with 96 additions and 21 deletions
|
@ -58,8 +58,9 @@ enum TimerType : uint8_t {
|
|||
TIMER_UNKNOWN_PROTOCOL_EXPIRE,
|
||||
TIMER_LOG_DELAY_EXPIRE,
|
||||
TIMER_LOG_FLUSH_WRITE_BUFFER,
|
||||
TIMER_STORAGE_EXPIRE,
|
||||
};
|
||||
constexpr int NUM_TIMER_TYPES = int(TIMER_LOG_FLUSH_WRITE_BUFFER) + 1;
|
||||
constexpr int NUM_TIMER_TYPES = int(TIMER_STORAGE_EXPIRE) + 1;
|
||||
|
||||
extern const char* timer_type_to_string(TimerType type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue