Skip to content

Commit

Permalink
Disable delay tracker scrape on start.
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshasa committed Mar 16, 2023
1 parent 551712f commit c0a5a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command_tracker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ initialize_command_tracker() {

CMD2_ANY_VALUE ("trackers.enable", std::bind(&apply_enable_trackers, int64_t(1)));
CMD2_ANY_VALUE ("trackers.disable", std::bind(&apply_enable_trackers, int64_t(0)));
CMD2_VAR_BOOL ("trackers.delay_scrape", false);
CMD2_VAR_VALUE ("trackers.numwant", -1);
CMD2_VAR_BOOL ("trackers.use_udp", true);
CMD2_VAR_BOOL ("trackers.delay_scrape", true);

CMD2_ANY_STRING_V ("dht.mode.set", std::bind(&core::DhtManager::set_mode, control->dht_manager(), std::placeholders::_2));
CMD2_VAR_VALUE ("dht.port", int64_t(6881));
Expand Down

0 comments on commit c0a5a55

Please sign in to comment.