mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge remote-tracking branch 'tor-github/pr/595'
This commit is contained in:
commit
a3e6f2467b
3
changes/ticket28840
Normal file
3
changes/ticket28840
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features (testing):
|
||||
- Allow HeartbeatPeriod of less than 30 minutes in testing Tor networks.
|
||||
Closes ticket 28840, patch by robgjansen
|
@ -3897,7 +3897,8 @@ options_validate(or_options_t *old_options, or_options_t *options,
|
||||
}
|
||||
|
||||
if (options->HeartbeatPeriod &&
|
||||
options->HeartbeatPeriod < MIN_HEARTBEAT_PERIOD) {
|
||||
options->HeartbeatPeriod < MIN_HEARTBEAT_PERIOD &&
|
||||
!options->TestingTorNetwork) {
|
||||
log_warn(LD_CONFIG, "HeartbeatPeriod option is too short; "
|
||||
"raising to %d seconds.", MIN_HEARTBEAT_PERIOD);
|
||||
options->HeartbeatPeriod = MIN_HEARTBEAT_PERIOD;
|
||||
|
Loading…
Reference in New Issue
Block a user