Implement multiprocessing
Summary
We currently use the thread
module to run a separate thread which continually pings the scheduler to update the database at 2:00 am every day. It's been recommended that we switch away from multi-threading to a more efficient system. Try to do that.
Related links
The currently-used thread
module (What we want to get rid of): https://www.tutorialspoint.com/python/python_multithreading.htm
Celery: http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html
Python multiprocessing
module: https://docs.python.org/2/library/multiprocessing.html