mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
SQLite: Add tuning options to configuration
This commit is contained in:
parent
ec49f5d550
commit
3e8ff836aa
2 changed files with 30 additions and 0 deletions
|
@ -18,5 +18,14 @@ export {
|
|||
|
||||
## Name of the table used for storing data.
|
||||
table_name: string;
|
||||
|
||||
## Key/value table for passing tuning parameters when opening
|
||||
## the database. These must be pairs that can be passed to the
|
||||
## ``pragma`` command in sqlite.
|
||||
tuning_params: table[string] of string &default=table(
|
||||
["journal_mode"] = "WAL",
|
||||
["synchronous"] = "normal",
|
||||
["temp_store"] = "memory"
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue