diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-02-16 22:36:33 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-02-16 22:36:33 -0500 |
commit | c66c279fb65328c5a5f5d8ca6e0df035fc5c5555 (patch) | |
tree | 09c2930bced82d7ea8ffd543ca8cbf73fdfafb71 /lib/database.h | |
parent | e5d8d42eae6ce486678d87e33c1a7c26e2a6c1a1 (diff) | |
download | verbly-c66c279fb65328c5a5f5d8ca6e0df035fc5c5555.tar.gz verbly-c66c279fb65328c5a5f5d8ca6e0df035fc5c5555.tar.bz2 verbly-c66c279fb65328c5a5f5d8ca6e0df035fc5c5555.zip |
Added optional database query timeout
Diffstat (limited to 'lib/database.h')
-rw-r--r-- | lib/database.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/database.h b/lib/database.h index 83c4c1c..a9d711e 100644 --- a/lib/database.h +++ b/lib/database.h | |||
@@ -73,6 +73,8 @@ namespace verbly { | |||
73 | 73 | ||
74 | std::set<std::string> synrestrs(int partId) const; | 74 | std::set<std::string> synrestrs(int partId) const; |
75 | 75 | ||
76 | void setTimeout(int ms); | ||
77 | |||
76 | private: | 78 | private: |
77 | 79 | ||
78 | mutable hatkirby::database ppdb_; | 80 | mutable hatkirby::database ppdb_; |