File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ pub fn start_daemon() {
45
45
}
46
46
47
47
48
- // check new crates every 15 minutes
48
+ // check new crates every 5 minutes
49
49
// FIXME: why not just check new crates and build them if there is any?
50
50
thread:: spawn ( move || {
51
51
loop {
52
- thread:: sleep ( Duration :: from_secs ( 900 ) ) ;
52
+ thread:: sleep ( Duration :: from_secs ( 300 ) ) ;
53
53
debug ! ( "Checking new crates" ) ;
54
54
if let Err ( e) = DocBuilder :: new ( opts ( ) ) . get_new_crates ( ) {
55
55
error ! ( "Failed to get new crates: {}" , e) ;
@@ -58,10 +58,10 @@ pub fn start_daemon() {
58
58
} ) ;
59
59
60
60
61
- // build crates in que every 12 minutes
61
+ // build crates in que every 5 minutes
62
62
thread:: spawn ( move || {
63
63
loop {
64
- thread:: sleep ( Duration :: from_secs ( 720 ) ) ;
64
+ thread:: sleep ( Duration :: from_secs ( 300 ) ) ;
65
65
66
66
let mut opts = opts ( ) ;
67
67
opts. skip_if_exists = true ;
You can’t perform that action at this time.
0 commit comments