Skip to content

Commit

Permalink
DAG generation explanation to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon1777 committed Aug 29, 2024
1 parent a66ed1c commit c9a6d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub fn get_num_cpus(n_cpus: Option<u16>) -> u16 {
})
}

const LOG_RATE: Duration = Duration::from_secs(10);
const LOG_RATE: Duration = Duration::from_secs(30);

impl MinerManager {
pub fn new(send_channel: Sender<BlockSeed>, n_cpus: Option<u16>, manager: &PluginManager) -> Self {
Expand Down Expand Up @@ -387,7 +387,7 @@ impl MinerManager {
Self::log_single_hashrate(
&hashes_tried,
"Current hashrate is".into(),
"Workers stalled or crashed. Consider reducing workload and check that your node is synced",
"Workers stalled or crashed. Consider reducing workload and check that your node is synced. If this is the first time starting the miner, DAG generation can take up to 10-15 minutes, and the miner will begin hashing after that.",
duration,
false,
);
Expand Down

0 comments on commit c9a6d29

Please sign in to comment.