Open ror6ax opened 6 years ago
@carlosalberto - any ideas why this may be a thing?
@ror6ax I don't have much experience with Jaeger myself, but will take a look later today ;)
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.
As a workaround, one could run
python3 server.py
. I suppose it's a side effect of https://github.com/jaegertracing/jaeger-client-python/issues/50.