Skip to content

Commit

Permalink
Corrected StatsLogger example.
Browse files Browse the repository at this point in the history
It suggested that the stats would be a property of the ConnectionPool.
  • Loading branch information
decbis committed Mar 21, 2014
1 parent e9baafb commit 8a8694e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycassa/logging/pool_stats_logger.py
Expand Up @@ -33,7 +33,7 @@ class StatsLogger(object):
>>>
>>> # use the pool for a while...
>>> import pprint
>>> pprint.pprint(pool.stats)
>>> pprint.pprint(stats_logger.stats)
{'at_max': 0,
'checked_in': 401,
'checked_out': 403,
Expand Down

0 comments on commit 8a8694e

Please sign in to comment.