mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 12:28:07 +00:00
optionally ignore dotfiles in syncdir monitors (#741)
This commit is contained in:
@ -80,7 +80,7 @@ impl GeneratorTask {
|
||||
self.config.ensemble_sync_delay,
|
||||
);
|
||||
|
||||
let crash_dir_monitor = self.config.crashes.monitor_results(new_result);
|
||||
let crash_dir_monitor = self.config.crashes.monitor_results(new_result, false);
|
||||
|
||||
let fuzzer = self.fuzzing_loop(hb_client);
|
||||
|
||||
|
@ -91,8 +91,8 @@ impl LibFuzzerFuzzTask {
|
||||
|
||||
// To be scheduled.
|
||||
let resync = self.continuous_sync_inputs();
|
||||
let new_inputs = self.config.inputs.monitor_results(new_coverage);
|
||||
let new_crashes = self.config.crashes.monitor_results(new_result);
|
||||
let new_inputs = self.config.inputs.monitor_results(new_coverage, true);
|
||||
let new_crashes = self.config.crashes.monitor_results(new_result, true);
|
||||
|
||||
let (stats_sender, stats_receiver) = mpsc::unbounded_channel();
|
||||
let report_stats = report_runtime_stats(self.workers() as usize, stats_receiver, hb_client);
|
||||
|
@ -71,7 +71,7 @@ pub async fn spawn(config: SupervisorConfig) -> Result<(), Error> {
|
||||
url: config.crashes.url.clone(),
|
||||
};
|
||||
crashes.init().await?;
|
||||
let monitor_crashes = crashes.monitor_results(new_result);
|
||||
let monitor_crashes = crashes.monitor_results(new_result, false);
|
||||
|
||||
// setup reports
|
||||
let reports_dir = tempdir()?;
|
||||
@ -111,7 +111,7 @@ pub async fn spawn(config: SupervisorConfig) -> Result<(), Error> {
|
||||
delay_with_jitter(delay).await;
|
||||
}
|
||||
}
|
||||
let monitor_inputs = inputs.monitor_results(new_coverage);
|
||||
let monitor_inputs = inputs.monitor_results(new_coverage, false);
|
||||
let continuous_sync_task = inputs.continuous_sync(Pull, config.ensemble_sync_delay);
|
||||
|
||||
let process = start_supervisor(
|
||||
|
Reference in New Issue
Block a user