Branch: Tag:

2018-04-05

2018-04-05 13:03:50 by Martin Karlgren <marty@roxen.com>

Filesystem.Monitor: Add set_stable_time() function.

1824:    reschedule_backend_check(suggested_t);   }    - //! Set the @[default_max_dir_check_interval]. + //! Set the @[max_dir_check_interval].   void set_max_dir_check_interval(int max_dir_check_interval)   {    if (max_dir_check_interval > 0) {
1834:    }   }    - //! Set the @[default_file_interval_factor]. + //! Set the @[file_interval_factor].   void set_file_interval_factor(int file_interval_factor)   {    if (file_interval_factor > 0) {
1843:    this::file_interval_factor = default_file_interval_factor;    }   } +  + //! Set the @[stable_time]. + void set_stable_time (int stable_time) + { +  if (stable_time > 0) { +  this::stable_time = stable_time; +  } else { +  this::stable_time = default_stable_time; +  } + }