Created
October 28, 2012 20:06
-
-
Save pterk/3969708 to your computer and use it in GitHub Desktop.
Fix feedly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/feedly/connection.py b/feedly/connection.py | |
index c6ba0d1..a41fa5c 100644 | |
--- a/feedly/connection.py | |
+++ b/feedly/connection.py | |
@@ -1,10 +1,9 @@ | |
-from nydus.db import create_cluster | |
- | |
#cache this at the process module level | |
connection_cache = {} | |
def get_redis_connection(): | |
+ from nydus.db import create_cluster | |
from django.conf import settings | |
config = settings.NYDUS_CONFIG['CONNECTIONS']['redis'] | |
key = unicode(config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment