Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

keeping the transaction open while the job is running is probably dubious. presumably you are using a queue because the job takes a long time to run. having long running transactions steals a scarce PG resource (connections) and also causes issues with vacuuming.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: