malthe / pq

A PostgreSQL job queueing system
376 stars 41 forks source link

Always put connection back into pull #51

Closed minyoung closed 4 years ago

minyoung commented 4 years ago

What is the current behavior?

Connections are not put back into the pool if there is an exception Related issue https://github.com/malthe/pq/issues/41

What is the new behavior?

Connections now returned to the pool if there is an exception

Checklist

Please make sure the following requirements are complete:

minyoung commented 4 years ago

The CI check seems to be failing because of:

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for psycopg2cffi
ERROR: Failed to build one or more wheels

Which seems unrelated to my code change?

malthe commented 4 years ago

I need to figure out why the Github action fails on this. It should be unrelated to this pull request.

Nice contribution!