Skip to content

Commit c96c230

Browse files
committed
Increase blacksmith cache TTL to one month
1 parent 63f25c4 commit c96c230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blacksmith/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use mdbook::{
88
use mdbook_blacksmith::Blacksmith;
99

1010
const CACHE_FILE: &str = ".blacksmith-cache.json";
11-
const CACHE_TTL_SECONDS: u64 = 3600; // 1 hour
11+
const CACHE_TTL_SECONDS: u64 = 3600 * 24 * 30; // 1 month
1212

1313
fn main() {
1414
// If RUST_LOG is present use that, else default to info level printing.

0 commit comments

Comments
 (0)