File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 2121from freqtrade .freqtradebot import FreqtradeBot
2222from freqtrade .persistence import LocalTrade , Order , Trade , init_db
2323from freqtrade .resolvers import ExchangeResolver
24+ from freqtrade .system import set_mp_start_method
2425from freqtrade .util import dt_now , dt_ts
2526from freqtrade .worker import Worker
2627from tests .conftest_trades import (
@@ -500,6 +501,15 @@ def patch_gc(mocker) -> None:
500501 mocker .patch ("freqtrade.main.gc_set_threshold" )
501502
502503
504+ @pytest .fixture (scope = "session" , autouse = True )
505+ def fixture_set_mp_start_method ():
506+ """
507+ Patch multiprocessing start mode globally
508+ Auto-used, runs once per session.
509+ """
510+ set_mp_start_method ()
511+
512+
503513def is_arm (include_aarch64 : bool = False ) -> bool :
504514 machine = platform .machine ()
505515 if include_aarch64 :
You can’t perform that action at this time.
0 commit comments