Skip to main content

clean_outdated_filters

Function clean_outdated_filters 

Source
pub fn clean_outdated_filters(filters: ActiveFilters, filter_duration: Duration)
Expand description

Used by the tokio runtime to clean outdated filters Takes 2 arguments:

  • filters: the filters to clean up.
  • filter_duration: represents how many seconds filter can last, if any filter is older than this, it will be removed.