File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -262,9 +262,9 @@ fn main() -> QsvExitCode {
262262 following {num_commands} commands:\n {enabled_commands}\n \n {SPONSOR_MESSAGE}"
263263 ) ;
264264
265- // if no command is specified, auto-check for updates 10 % of the time
265+ // if no command is specified, auto-check for updates 50 % of the time
266266 let mut rng = rand:: thread_rng ( ) ; //DevSkim: ignore DS148264
267- if rng. gen_range ( 0 ..10 ) == 0 {
267+ if rng. gen_range ( 0 ..2 ) == 0 {
268268 _ = util:: qsv_check_for_update ( true , false ) ;
269269 }
270270 util:: log_end ( qsv_args, now) ;
Original file line number Diff line number Diff line change @@ -151,9 +151,9 @@ fn main() -> QsvExitCode {
151151 following 49 commands:\n {COMMAND_LIST}\n \n {SPONSOR_MESSAGE}",
152152 ) ;
153153
154- // if no command is specified, auto-check for updates 10 % of the time
154+ // if no command is specified, auto-check for updates 50 % of the time
155155 let mut rng = rand:: thread_rng ( ) ; //DevSkim: ignore DS148264
156- if rng. gen_range ( 0 ..10 ) == 0 {
156+ if rng. gen_range ( 0 ..2 ) == 0 {
157157 _ = util:: qsv_check_for_update ( true , false ) ;
158158 }
159159 util:: log_end ( qsv_args, now) ;
You can’t perform that action at this time.
0 commit comments