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 had the same issue. Pywren's map function appears to use Threadpool. It doesn't appear that Flask is designed for this. One workaround is to put your pywren code into a script and run with subprocess. E.g.: pw_output = subprocess.check_output(["python", "run_pw.py", args])
Celery seems like it may work but I haven't got around to trying it.
Activity
ror6ax commentedon May 29, 2018
@carlosalberto - any ideas why this may be a thing?
carlosalberto commentedon May 29, 2018
@ror6ax I don't have much experience with Jaeger myself, but will take a look later today ;)
dbernardoj commentedon Aug 16, 2019
I had the same issue. Pywren's map function appears to use Threadpool. It doesn't appear that Flask is designed for this. One workaround is to put your pywren code into a script and run with subprocess. E.g.:
pw_output = subprocess.check_output(["python", "run_pw.py", args])Celery seems like it may work but I haven't got around to trying it.