AadityaNair / ProjectNephos

GSOC 2018 Project: Automate recording and uploading TV Channels to cloud.
GNU General Public License v2.0
3 stars 0 forks source link

Add jobs post server start. #22

Open AadityaNair opened 6 years ago

AadityaNair commented 6 years ago

Currently we use a blocking scheduler from apscheduler. That limits us to only add jobs before the scheduler has to start. This is pretty big limitation.

AadityaNair commented 6 years ago

Fixing this requires moving away from the BlockingScheduler and use atleast the BackgroundScheduler. Also, we need to have some process already scheduled that actually adds jobs from the database.

AadityaNair commented 6 years ago

I reckon an RPC server listening on localhost would be the simplest to implement