[DBIx-Class-Devel] [dbix-class] Disconnect after schema version check. (#57)

Eric Miller notifications at github.com
Mon Aug 25 03:11:10 GMT 2014


Explicitly disconnect after perfoming the schema version check.  Without doing so, Schema::Versioned is leaving an idle connection open to the database in daemon processes.  This results in twice the expected number of active connections opened to the database. 

Please let me know if you need addtional information or would prefer a different approach in order to accept the pull request.
You can merge this Pull Request by running:

  git pull https://github.com/jeneric/dbix-class em-schema-check-disconnect

Or you can view, comment on it, or merge it online at:

  https://github.com/dbsrgits/dbix-class/pull/57

-- Commit Summary --

  * Disconnect after schema version check.

-- File Changes --

    M lib/DBIx/Class/Schema/Versioned.pm (3)

-- Patch Links --

https://github.com/dbsrgits/dbix-class/pull/57.patch
https://github.com/dbsrgits/dbix-class/pull/57.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/57
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20140824/d1756ce8/attachment.htm>


More information about the DBIx-Class-Devel mailing list