Commit 9e7591d 1 parent 62aab2d commit 9e7591d Copy full SHA for 9e7591d
File tree 1 file changed +17
-33
lines changed
crates/bencher/src/protocols
1 file changed +17
-33
lines changed Original file line number Diff line number Diff line change @@ -457,50 +457,34 @@ impl ProcessRunner for TorrustTrackerUdpRunner {
457
457
writedoc ! (
458
458
tmp_file,
459
459
r#"
460
- announce_interval = 120
461
- db_driver = "Sqlite3"
462
- db_path = "./sqlite3.db"
463
- external_ip = "0.0.0.0"
464
- inactive_peer_cleanup_interval = 600
465
- log_level = "error"
466
- max_peer_timeout = 900
467
- min_announce_interval = 120
468
- mode = "public"
469
- on_reverse_proxy = false
460
+ [metadata]
461
+ schema_version = "2.0.0"
462
+
463
+ [logging]
464
+ threshold = "error"
465
+
466
+ [core]
467
+ listed = false
468
+ private = false
469
+ tracker_usage_statistics = false
470
+
471
+ [core.database]
472
+ driver = "sqlite3"
473
+ path = "./sqlite3.db"
474
+
475
+ [core.tracker_policy]
470
476
persistent_torrent_completed_stat = false
471
477
remove_peerless_torrents = false
472
- tracker_usage_statistics = false
473
478
474
479
[[udp_trackers]]
475
480
bind_address = "0.0.0.0:3000"
476
- enabled = true
477
-
478
- [[http_trackers]]
479
- bind_address = "0.0.0.0:7070"
480
- enabled = false
481
- ssl_cert_path = ""
482
- ssl_enabled = false
483
- ssl_key_path = ""
484
-
485
- [http_api]
486
- bind_address = "127.0.0.1:1212"
487
- enabled = false
488
- ssl_cert_path = ""
489
- ssl_enabled = false
490
- ssl_key_path = ""
491
-
492
- [http_api.access_tokens]
493
- admin = "MyAccessToken"
494
-
495
- [health_check_api]
496
- bind_address = "127.0.0.1:1313"
497
481
"# ,
498
482
) ?;
499
483
500
484
Ok ( Command :: new ( "taskset" )
501
485
. arg ( "--cpu-list" )
502
486
. arg ( vcpus. as_cpu_list ( ) )
503
- . env ( "TORRUST_TRACKER_PATH_CONFIG " , tmp_file. path ( ) )
487
+ . env ( "TORRUST_TRACKER_CONFIG_TOML_PATH " , tmp_file. path ( ) )
504
488
. arg ( & command. torrust_tracker )
505
489
. stdout ( Stdio :: piped ( ) )
506
490
. stderr ( Stdio :: piped ( ) )
You can’t perform that action at this time.
0 commit comments