Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Fix MCClientPool docstring to reflect servers=>server API change.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfk committed Sep 15, 2014
1 parent 8e67582 commit 1b40248
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mozsvc/storage/mcclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ class MCClientPool(object):
seems to work around some occasional hangs that were occurring with
long-lived clients.
To initialise the pool you must provide the list of server addresses
to access. You may also specify the maximum size of the pool and the
time after which old connections will be recycled.
To initialise the pool you must provide the server address to access.
You may also specify the maximum size of the pool and the time after
which old connections will be recycled.
To obtain a Client object from the pool, call reserve() as a context
manager like this::
Expand Down

0 comments on commit 1b40248

Please sign in to comment.