lightster / hodor

🚪 A worker queue that is evolving to a job queue
MIT License
4 stars 1 forks source link

Reduce concurrent connections in PgsqlAdapterTest #179

Closed lightster closed 8 years ago

lightster commented 8 years ago

PDO connections are only terminated when they are garbage collected. Since PHP is not requesting garbage collection after each test, the number of concurrent database connections kept growing and transactions were sometimes conflicting with each other.