Skip to content

Commit 9e424ab

Browse files
committed
add comment about static rebuild priority
1 parent ea10b6e commit 9e424ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/build_queue.rs

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ use std::sync::Arc;
1515
use tokio::runtime::Runtime;
1616
use tracing::{debug, error, info, instrument};
1717

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

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

0 commit comments

Comments
 (0)