mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Convert more redef-able constants to runtime options
This commit is contained in:
parent
fd1a23ea66
commit
9bfc01b705
11 changed files with 14 additions and 14 deletions
|
@ -7,10 +7,10 @@ module ActiveHTTP;
|
|||
|
||||
export {
|
||||
## The default timeout for HTTP requests.
|
||||
const default_max_time = 1min &redef;
|
||||
option default_max_time = 1min;
|
||||
|
||||
## The default HTTP method/verb to use for requests.
|
||||
const default_method = "GET" &redef;
|
||||
option default_method = "GET";
|
||||
|
||||
type Response: record {
|
||||
## Numeric response code from the server.
|
||||
|
|
|
@ -7,7 +7,7 @@ module Dir;
|
|||
export {
|
||||
## The default interval this module checks for files in directories when
|
||||
## using the :bro:see:`Dir::monitor` function.
|
||||
const polling_interval = 30sec &redef;
|
||||
option polling_interval = 30sec;
|
||||
|
||||
## Register a directory to monitor with a callback that is called
|
||||
## every time a previously unseen file is seen. If a file is deleted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue