From e7dfed10a52ae892c984798ebf065f6161a04b5a Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 17 Nov 2021 09:07:23 +0300 Subject: [PATCH] Increase performance warning time to a reasonable value. --- tddb/td/db/SqliteDb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tddb/td/db/SqliteDb.cpp b/tddb/td/db/SqliteDb.cpp index 910374b26..6675879f4 100644 --- a/tddb/td/db/SqliteDb.cpp +++ b/tddb/td/db/SqliteDb.cpp @@ -244,7 +244,7 @@ optional SqliteDb::get_cipher_version() const { Result SqliteDb::change_key(CSlice path, bool allow_creation, const DbKey &new_db_key, const DbKey &old_db_key) { - PerfWarningTimer perf("change key", 0.001); + PerfWarningTimer perf("change key", 0.05); // fast path {