mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
SQLite: Add backend option for pragma timeout
This commit is contained in:
parent
f0e7b78554
commit
78dffb1d6f
4 changed files with 30 additions and 7 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include "zeek/storage/Backend.h"
|
||||
|
||||
// Forward declare these to avoid including sqlite3.h here
|
||||
|
@ -62,6 +64,8 @@ private:
|
|||
|
||||
std::string full_path;
|
||||
std::string table_name;
|
||||
std::chrono::milliseconds pragma_timeout;
|
||||
std::chrono::milliseconds pragma_wait_on_busy;
|
||||
};
|
||||
|
||||
} // namespace zeek::storage::backend::sqlite
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue