JobSweeper what does it do and should it run so often?

Probably a stupid question but I could find little documentation of what JobSweeper does.
In our cluster it is running a “full sweep” every 5 seconds; and I was wondering if it is supposed to be doing that so often.



I had also that doubt. I read from here :

opendistro.scheduled_jobs.sweeper.period: The alerting feature uses its “job sweeper” component to periodically check for new or updated jobs. This setting is the rate at which the sweeper checks to see if any jobs (monitors) have changed and need to be rescheduled.

It should be every 5 minutes by default but you can change it