forked from EvergreenCrypto/docker-finance
client: plugins: tor: decrease bootstrap wait time
Now that retries are implemented, this can be reduced. NOTE: while it's possible to add controller support, this works for now.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# docker-finance | modern accounting for the power-user
|
||||
#
|
||||
# Copyright (C) 2024 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
# Copyright (C) 2024,2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -99,7 +99,7 @@ function tor::start()
|
||||
&& echo 'socks5 $_ip 9050' >>$_proxychains" || lib_utils::die_fatal
|
||||
|
||||
# Test Tor connection
|
||||
local -r _sleep="30s"
|
||||
local -r _sleep="20s"
|
||||
lib_utils::print_info "${global_container}: testing connection (bootstrapping ~${_sleep})"
|
||||
sleep "$_sleep" # Give time to bootstrap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user