agronholm / agronholm/apscheduler
Could it possible to add a new listener?
- Langage dominant
- Python
- Étoiles
- 7.6k
- Forks
- 783
- Merge moyen
- 4 j 8 h
- PR mergées (30 j)
- 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?
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.