[X] I have searched the existing issues and didn't find my feature already requested there
Feature description
Currently, BaseScheduler accepts job_defaults parameter. However, it only defaults to three configs being stored irregardless of any config passed.
This can be a bug or enhancement .
Use case
As below function- only 3 defaults are being stored.
def _configure(self, config):
# Set general options
self._logger = maybe_ref(config.pop('logger', None)) or getLogger('apscheduler.scheduler')
self.timezone = astimezone(config.pop('timezone', None)) or get_localzone()
self.jobstore_retry_interval = float(config.pop('jobstore_retry_interval', 10))
# Set the job defaults
job_defaults = config.get('job_defaults', {})
self._job_defaults = {
'misfire_grace_time': asint(job_defaults.get('misfire_grace_time', 1)),
'coalesce': asbool(job_defaults.get('coalesce', True)),
'max_instances': asint(job_defaults.get('max_instances', 1))
}
Things to check first
Feature description
Currently,
BaseScheduler
acceptsjob_defaults
parameter. However, it only defaults to three configs being stored irregardless of any config passed. This can be a bug or enhancement .Use case
As below function- only 3 defaults are being stored.