mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-18 17:27:11 +00:00
simplify quadrable instance creation
This commit is contained in:
@ -58,12 +58,7 @@ struct WriterPipeline {
|
||||
writerThread = std::thread([&]() {
|
||||
setThreadName("Writer");
|
||||
|
||||
quadrable::Quadrable qdb;
|
||||
{
|
||||
auto txn = env.txn_ro();
|
||||
qdb.init(txn);
|
||||
}
|
||||
qdb.checkout("events");
|
||||
auto qdb = getQdbInstance();
|
||||
|
||||
while (1) {
|
||||
// Debounce
|
||||
|
Reference in New Issue
Block a user