Fixes for previous release.

This commit is contained in:
Revertron
2021-04-24 23:32:08 +02:00
parent d95fb82067
commit 6c5e374408
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "alfis"
version = "0.4.27"
version = "0.4.28"
authors = ["Revertron <alfis@revertron.com>"]
edition = "2018"
build = "build.rs"
+1 -1
View File
@@ -43,5 +43,5 @@ pub const LOG_REFRESH_DELAY_SEC: u64 = 60;
pub const POLL_TIMEOUT: Option<Duration> = Some(Duration::from_millis(250));
pub const MAX_PACKET_SIZE: usize = 1 * 1024 * 1024; // 1 Mb
pub const MAX_READ_BLOCK_TIME: u128 = 200;
pub const MAX_READ_BLOCK_TIME: u128 = 500;
pub const MAX_NODES: usize = 15;
+1
View File
@@ -158,6 +158,7 @@ impl Miner {
}
}
}
let _ = cond_var.wait_timeout(jobs, delay).expect("Error in wait lock!");
}
} else {
let mut jobs = jobs.lock().unwrap();