Skip to content

Commit

Permalink
add comment about static rebuild priority
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Oct 24, 2024
1 parent ea10b6e commit 9e424ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/build_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ use std::sync::Arc;
use tokio::runtime::Runtime;
use tracing::{debug, error, info, instrument};

/// The static prioriry for background rebuilds.
/// Used when queueing rebuilds, and when rendering them
/// collapsed in the UI.
/// For Normal build priorities we use smaller values.
pub(crate) const REBUILD_PRIORITY: i32 = 20;

#[derive(Debug, Clone, Eq, PartialEq, serde::Serialize)]
Expand Down

0 comments on commit 9e424ab

Please sign in to comment.