rackerlabs/silverberg — pull request #15 by bmuller (2013-06-26 22:06:25+00:00)
Title: fixed issue with how round robin cluster keeps track of rotating client

self._client_idx can potentially get quite big (if it equals the number of CQL queries) - and that mod could grow increasingly but unnecessarily expensive (not to mention the possibility on high volume sites of client_idx approaching sys.maxint - though that is a huge friggin number).