Permalink
Browse files

use most recent cyclone and redis

  • Loading branch information...
1 parent 963244f commit a8755688e733521dd760b0d666ed058ddfd134fa @fiorix committed Jun 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 freegeoip/utils.py
View
4 freegeoip/utils.py
@@ -17,9 +17,9 @@ class DatabaseMixin(object):
def setup(self, settings):
conf = settings.get("redis_settings")
if conf:
- DatabaseMixin.redis = cyclone.redis.lazyRedisConnectionPool(
+ DatabaseMixin.redis = cyclone.redis.lazyConnectionPool(
host=conf.host, port=conf.port,
- db=conf.dbid, pool_size=conf.poolsize)
+ dbid=conf.dbid, poolsize=conf.poolsize)
else:
raise RuntimeError("Redis support is mandatory.")

0 comments on commit a875568

Please sign in to comment.