@@ -558,15 +558,20 @@ def ScanLiteServers(local, ton):
558558def General (local ):
559559 local .add_log ("start General function" , "debug" )
560560 ton = MyTonCore (local )
561- scanner = Dict ()
561+ # scanner = Dict()
562562 # scanner.Run()
563563
564- # Запустить потоки
564+ # Start threads
565565 local .start_cycle (Elections , sec = 600 , args = (local , ton , ))
566566 local .start_cycle (Statistics , sec = 10 , args = (local , ))
567567 local .start_cycle (Offers , sec = 600 , args = (local , ton , ))
568- local .start_cycle (Complaints , sec = 600 , args = (local , ton , ))
569- local .start_cycle (Slashing , sec = 600 , args = (local , ton , ))
568+
569+ t = 600
570+ if ton .GetNetworkName () != 'mainnet' :
571+ t = 60
572+ local .start_cycle (Complaints , sec = t , args = (local , ton , ))
573+ local .start_cycle (Slashing , sec = t , args = (local , ton , ))
574+
570575 local .start_cycle (Domains , sec = 600 , args = (local , ton , ))
571576 local .start_cycle (Telemetry , sec = 60 , args = (local , ton , ))
572577 local .start_cycle (OverlayTelemetry , sec = 7200 , args = (local , ton , ))
0 commit comments