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'm trying to build up a listing of similar data from several sources concurrently. When I got everything wired up I noticed my program wasn't making progress; after much debugging I realized things were hanging at db.Exec() while trying to insert into the database. The runtime isn't reporting a deadlock.
Below is an example that reproduces the behavior I'm seeing.
What version of Chai are you using?
v0.16.0
What did you do?
I'm trying to build up a listing of similar data from several sources concurrently. When I got everything wired up I noticed my program wasn't making progress; after much debugging I realized things were hanging at
db.Exec()
while trying to insert into the database. The runtime isn't reporting a deadlock.Below is an example that reproduces the behavior I'm seeing.
What did you expect to see?
I expected to see about 40 lines of output with each "worker" announcing an insert then success for the numbers 1-10.
What did you see instead?
I get 2-4 lines of output then an indefinite pause.
Example Output:
The text was updated successfully, but these errors were encountered: