Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1046611
D363.id903.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jun 28, 9:01 PM
Size
374 B
Mime Type
text/x-diff
Expires
Sun, Jun 29, 9:01 PM (4 h, 16 m)
Engine
blob
Format
Raw Data
Handle
676627
Attached To
D363: INP-1766 - Change "kDBLoadBalancer::openConnection" to always update last used connection index
D363.id903.diff
View Options
Index: core/kernel/db/db_load_balancer.php
===================================================================
--- core/kernel/db/db_load_balancer.php
+++ core/kernel/db/db_load_balancer.php
@@ -426,6 +426,7 @@
{
if ( isset($this->connections[$i]) ) {
$conn =& $this->connections[$i];
+ $this->lastUsedIndex = $i;
}
else {
$server = $this->servers[$i];
Event Timeline
Log In to Comment