https://bugzilla.wikimedia.org/show_bug.cgi?id=41796

       Web browser: ---
             Bug #: 41796
           Summary: ORMRow should release db connections after use.
           Product: MediaWiki
           Version: 1.21-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Database
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Ic9e728f8 makes ORMRow get DB connections via ORMTable::getWriteDbConnection();

When getting db connections from ORMTable, please also release them using
ORMTable::releaseConntetion. This allows connections to remote wikis to be
recycled for later connections (for local connections, this doesn't matter).

Without it, we may end up with one connection open per foreign wiki, instead of
one per cluster/section.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to