Since job configuration requires a restart to be loaded, cannot (currently) be updated, and is very small (would likely scale to 100's of jobs at least), I'd like to propose caching the jobs config on start. In addition to removing a database query when getting job info, this would make supplying job config information to the downstream worker a breeze (#5).
I was initially thinking this could be done here, but am open to other suggestions.
Thoughts overall? Happy to take this on if we can agree this is a good idea.
Since job configuration requires a restart to be loaded, cannot (currently) be updated, and is very small (would likely scale to 100's of jobs at least), I'd like to propose caching the jobs config on start. In addition to removing a database query when getting job info, this would make supplying job config information to the downstream worker a breeze (#5).
I was initially thinking this could be done here, but am open to other suggestions.
Thoughts overall? Happy to take this on if we can agree this is a good idea.