Skip to content

Running via flask run hangs forever #15

Open

Description

@ror6ax

As a workaround, one could run python3 server.py. I suppose it's a side effect of jaegertracing/jaeger-client-python#50.

Activity

  1. ror6ax commented on May 29, 2018

    @ror6ax
    ContributorAuthor

    @carlosalberto - any ideas why this may be a thing?

  2. carlosalberto commented on May 29, 2018

    @carlosalberto
    Contributor

    @ror6ax I don't have much experience with Jaeger myself, but will take a look later today ;)

  3. dbernardoj commented on Aug 16, 2019

    @dbernardoj

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions