Skip to content

Commit

Permalink
Merge pull request #57 from allenxwang/cp
Browse files Browse the repository at this point in the history
Make sure NamedConnectionPool instances register with Servo with unique names.
  • Loading branch information
allenxwang committed Nov 12, 2013
2 parents 4685196 + 3fd3f9c commit d960610
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void initMonitors(String name) {
releaseCounter = Monitors.newCounter(name + "_Release");
deleteCounter = Monitors.newCounter(name + "_Delete");
requestTimer = Monitors.newTimer(name + "RequestEntry", TimeUnit.MILLISECONDS);
Monitors.registerObject(this);
Monitors.registerObject(name, this);
}

@Override
Expand Down

0 comments on commit d960610

Please sign in to comment.