Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Hangs on block #46

Open
shadowcodex opened this issue Jul 2, 2015 · 1 comment
Open

Hangs on block #46

shadowcodex opened this issue Jul 2, 2015 · 1 comment

Comments

@shadowcodex
Copy link

So I created a function, and I call it with sync. However the program completely blocks and won't move past that call. The call finishes and it just sits.

Once I remove sync then it moves forward.

I am trying to call this function which in turn calls 20 or so https requests, and database connections. When they all finish I want to close the database connection (it is persistent until closed (elastic search)). However it never reaches the client.close() and thus the process never ends.

Ideas?

@ybogdanov
Copy link
Owner

Can you provide code examples of calling this function with/without sync?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants