S
S
sharkyyy32020-04-25 21:50:43
Python
sharkyyy3, 2020-04-25 21:50:43

How to deploy multiprocess script on heroku?

Hey everyone, I was trying to deploy my app to heroku but ran into a problem right after I run a sub process

g_vi = Process(target=grr, args=(thread_return, records))
g_vi.start()

Errors start to appear in the log, as soon as I remove this line everything works fine.
Does Heroku support multiprocessing or does it only have 1 worker? And is it possible to solve this problem in other ways?
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question