agronholm / agronholm/apscheduler

Could it possible to add a new listener?

Open
#498 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
7.6k
Forks
783
Avg merge
4d 8h
Merged PRs (30d)
5

Description

**Usage:**
I'm Using apscheduler with django-apscheduler's DjangoJobStore, got error "MySQL server has gone away" when the job's interval is very long.
here's package's version:
```
django-apscheduler==0.5.2
shellescape==3.8.1
```
I have read previous issues about my problem, and i came out an thought, could it possible to add a new listener named
"EVENT_JOBSTORE_GET_ERROR", which is used to notify user when "getting job from job store" stage raised an exception.
Then user add a listener to handle this error. In my case, i would recreate an conncetion to mysql and retry.

please, tell me it this gonna work?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.