Decrease MAX_PENDING_QUERIES_DELAY from 10 to 1.
GitOrigin-RevId: 9210a816b8a2b69709c1d117bcda6682f7aedbe0
This commit is contained in:
parent
b48b0c5ece
commit
3abf2ef88e
@ -81,7 +81,7 @@ class SqliteKeyValueAsync : public SqliteKeyValueAsyncInterface {
|
||||
std::shared_ptr<SqliteKeyValueSafe> kv_safe_;
|
||||
SqliteKeyValue *kv_ = nullptr;
|
||||
|
||||
static constexpr double MAX_PENDING_QUERIES_DELAY = 10;
|
||||
static constexpr double MAX_PENDING_QUERIES_DELAY = 1;
|
||||
static constexpr size_t MAX_PENDING_QUERIES_COUNT = 100;
|
||||
std::unordered_map<string, optional<string>> buffer_;
|
||||
std::vector<Promise<>> buffer_promises_;
|
||||
|
Loading…
Reference in New Issue
Block a user