mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Move options to redis backend options instead of module-level options
This commit is contained in:
parent
824b91216f
commit
fd10dd015f
6 changed files with 24 additions and 18 deletions
|
@ -10,17 +10,6 @@ export {
|
|||
type BackendOptions: record {
|
||||
## The serializer used for converting Zeek data.
|
||||
serializer: Storage::Serializer &default=Storage::STORAGE_SERIALIZER_JSON;
|
||||
|
||||
## Timeout for connection attempts to the backend. Connection attempts
|
||||
## that exceed this time should return
|
||||
## :zeek:see:`Storage::CONNECTION_FAILED`. Not all backends will support
|
||||
## setting timeouts.
|
||||
connect_timeout: interval &default=5 sec;
|
||||
|
||||
## Timeout for operation requests sent to the backend. Operations that
|
||||
## exceed this time should return :zeek:see:`Storage::TIMEOUT`. Not all
|
||||
## backends will support setting timeouts.
|
||||
operation_timeout: interval &default=5 sec;
|
||||
};
|
||||
|
||||
## Record for passing arguments to :zeek:see:`Storage::Async::put` and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue