agronholm / agronholm/apscheduler
Could it possible to add a new listener?
- Lingua principale
- Python
- Stelle
- 7.6k
- Fork
- 783
- Merge medio
- 4g 8h
- PR unite (30g)
- 5
Descrizione
**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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.