Skip to content

Commit 817c051

Browse files
committed
bench: use unsafesqlitesync in wallet loading benchmark
1 parent 9e404a9 commit 817c051

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bench/wallet_loading.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ static void BenchUnloadWallet(std::shared_ptr<CWallet>&& wallet)
4949
static void WalletLoading(benchmark::Bench& bench, bool legacy_wallet)
5050
{
5151
const auto test_setup = MakeNoLogFileContext<TestingSetup>();
52+
test_setup->m_args.ForceSetArg("-unsafesqlitesync", "1");
5253

5354
WalletContext context;
5455
context.args = &test_setup->m_args;

0 commit comments

Comments
 (0)