You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to tell jobby to invoke my closure directly inside the main process - when calling $jobby->run() to be clear.
That way I can use the same environment, w/o the need to spawn a new process
The text was updated successfully, but these errors were encountered:
The idea with Jobby is that the main process is just a "controller" for your actual jobs. If it did run jobs, it also might block if the job takes a long time.
Usually, you can set up your environment by importing some sort of bootstrap or environment file in your job, same as you would on a web request. Does that help?
I'd like to tell jobby to invoke my closure directly inside the main process - when calling $jobby->run() to be clear.
That way I can use the same environment, w/o the need to spawn a new process
The text was updated successfully, but these errors were encountered: