mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
chore: replace deprecated HELIO_STACK_CHECK (#4465)
* remove HELIO_STACK_CHECK * use FLAGS_fiber_safety_margin --------- Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
parent
ac8e1c80f0
commit
c759eb8ce6
3 changed files with 8 additions and 12 deletions
|
@ -429,6 +429,9 @@ class DflyInstanceFactory:
|
|||
if version >= 1.21 and "serialization_max_chunk_size" not in args:
|
||||
args.setdefault("serialization_max_chunk_size", 300000)
|
||||
|
||||
if version >= 1.26:
|
||||
args.setdefault("fiber_safety_margin=4096")
|
||||
|
||||
for k, v in args.items():
|
||||
args[k] = v.format(**self.params.env) if isinstance(v, str) else v
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue