'Normally refresh() is called on every monitor_db.Dispatcher.tick().
:return: The number of refresh() calls before we forget a pidfile.'

def _get_max_pidfile_refreshes(self):

    pidfile_timeout = settings.get_value(scheduler_config.CONFIG_SECTION, 'max_pidfile_refreshes', type=int, default=2000)
    return pidfile_timeout
