mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-22 10:28:06 +00:00
simplify quadrable instance creation
This commit is contained in:
@ -133,20 +133,12 @@ void cmd_sync(const std::vector<std::string> &subArgs) {
|
||||
std::unique_ptr<SyncController> controller;
|
||||
WriterPipeline writer;
|
||||
WSConnection ws(url);
|
||||
|
||||
quadrable::Quadrable qdb;
|
||||
{
|
||||
auto txn = env.txn_ro();
|
||||
qdb.init(txn);
|
||||
}
|
||||
qdb.checkout("events");
|
||||
|
||||
auto qdb = getQdbInstance();
|
||||
|
||||
|
||||
ws.reconnect = false;
|
||||
|
||||
|
||||
|
||||
if (filterStr.size()) {
|
||||
std::vector<uint64_t> levIds;
|
||||
|
||||
|
Reference in New Issue
Block a user