I'm getting this error when doing database calls in a sub process using multiprocessing library.
Visit : Pastie
InternalError: current transaction is aborted, commands ignored until end of transaction block
this is to a Postgre Database, using psycopg2
driver in web.py
.
However if I use threading.Thread
instead of multiprocessing.Process
I don't get this error.
Any idea how to fix this?