mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
fix: disable ThreadLocalMutex when big value ser is off (#3521)
* fix: disable ThreadLocalMutex when big value ser is off * refactor: address comments --------- Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-29.ec2.internal> Co-authored-by: Borys <borys@dragonflydb.io>
This commit is contained in:
parent
ad3ebf61d2
commit
d3a893f2a6
4 changed files with 29 additions and 12 deletions
|
@ -374,6 +374,9 @@ class ThreadLocalMutex {
|
|||
EngineShard* shard_;
|
||||
util::fb2::CondVarAny cond_var_;
|
||||
bool flag_ = false;
|
||||
util::fb2::detail::FiberInterface* locked_fiber_{nullptr};
|
||||
};
|
||||
|
||||
extern size_t serialization_max_chunk_size;
|
||||
|
||||
} // namespace dfly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue