aselab / scala-activerecord

ActiveRecord-like ORM library for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connections leak in compute function using playframework

ewnd9 opened this issue · comments

I found it using activerecord in one of my projects, so I create a simple app to demonstrate the problem: https://github.com/ewnd9/play-activerecord-leak/blob/master/test/ApplicationSpec.scala "count" and "max" tests fail after 30 iterations (maxConnectionsPerPartition in play config). Play 2.1.4, scala-activerecord 0.2.4-SNAPSHOT, scala-activerecord-play2 0.2.4-SNAPSHOT

Thank you for reporting it.
I just published 0.2.4-SNAPSHOT, and your test will be passed now.