mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 06:39:21 +00:00
Revert "feat: put p2pool process to syncing if node doesn't respond anymore"
This reverts commit 536af2ce2a
.
This commit is contained in:
parent
6287e3cbac
commit
18513b758f
2 changed files with 0 additions and 6 deletions
|
@ -13,7 +13,6 @@ use crate::regex::contains_end_status;
|
|||
use crate::regex::contains_statuscommand;
|
||||
use crate::regex::contains_yourhashrate;
|
||||
use crate::regex::contains_yourshare;
|
||||
use crate::regex::contains_zmq_connection_lost;
|
||||
use crate::regex::estimated_hr;
|
||||
use crate::regex::nb_current_shares;
|
||||
use crate::regex::P2POOL_REGEX;
|
||||
|
|
|
@ -222,11 +222,6 @@ pub fn contains_timeout(l: &str) -> bool {
|
|||
static LINE_SHARE: Lazy<Regex> = Lazy::new(|| Regex::new(r"timeout").unwrap());
|
||||
LINE_SHARE.is_match(l)
|
||||
}
|
||||
pub fn contains_zmq_connection_lost(l: &str) -> bool {
|
||||
static LINE_SHARE: Lazy<Regex> =
|
||||
Lazy::new(|| Regex::new(r"ZMQReader failed to connect to").unwrap());
|
||||
LINE_SHARE.is_match(l)
|
||||
}
|
||||
pub fn contains_error(l: &str) -> bool {
|
||||
static LINE_SHARE: Lazy<Regex> = Lazy::new(|| Regex::new(r"error").unwrap());
|
||||
LINE_SHARE.is_match(l)
|
||||
|
|
Loading…
Reference in a new issue