Default to not listen on tor port, fewer threads by default
This commit is contained in:
@@ -12,7 +12,10 @@
|
|||||||
#include "scheduler.h"
|
#include "scheduler.h"
|
||||||
|
|
||||||
extern const std::string DEFAULT_TOR_CONTROL;
|
extern const std::string DEFAULT_TOR_CONTROL;
|
||||||
static const bool DEFAULT_LISTEN_ONION = true;
|
// Most users don't have Tor, those that do can turn it on
|
||||||
|
// This help reduce CPU usage, thread contention and helps
|
||||||
|
// low resource devices
|
||||||
|
static const bool DEFAULT_LISTEN_ONION = false;
|
||||||
|
|
||||||
void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);
|
void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);
|
||||||
void InterruptTorControl();
|
void InterruptTorControl();
|
||||||
|
|||||||
Reference in New Issue
Block a user