Skip to content

Commit

Permalink
Merge pull request #2899 from subspace/increase-identification-intervals
Browse files Browse the repository at this point in the history
Increase farm and cache identification intervals
  • Loading branch information
nazar-pc authored Jul 10, 2024
2 parents 7b62292 + 617a5f4 commit 0a122ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use subspace_farmer::disk_piece_cache::DiskPieceCache;
use subspace_farmer::utils::AsyncJoinOnDrop;

/// Interval between cache self-identification broadcast messages
pub(super) const CACHE_IDENTIFICATION_BROADCAST_INTERVAL: Duration = Duration::from_secs(5);
pub(super) const CACHE_IDENTIFICATION_BROADCAST_INTERVAL: Duration = Duration::from_secs(30);

#[derive(Debug, Clone)]
struct DiskCache {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use tracing::{error, info, info_span, warn, Instrument};

const FARM_ERROR_PRINT_INTERVAL: Duration = Duration::from_secs(30);
/// Interval between farmer self-identification broadcast messages
pub(super) const FARMER_IDENTIFICATION_BROADCAST_INTERVAL: Duration = Duration::from_secs(5);
pub(super) const FARMER_IDENTIFICATION_BROADCAST_INTERVAL: Duration = Duration::from_mins(1);

/// Arguments for farmer
#[derive(Debug, Parser)]
Expand Down

0 comments on commit 0a122ba

Please sign in to comment.