Browse Source

Moved the redis settings a bit above

sh4nks 11 years ago
parent
commit
25b005eae5
1 changed files with 6 additions and 6 deletions
  1. 6 6
      flaskbb/configs/default.py

+ 6 - 6
flaskbb/configs/default.py

@@ -75,6 +75,12 @@ class DefaultConfig(object):
     # Where to logger should send the emails to
     ADMINS = ["admin@example.org"]
 
+    ## Flask-And-Redis
+    REDIS_ENABLED = False
+    REDIS_HOST = 'localhost'
+    REDIS_PORT = 6379
+    REDIS_DB = 0
+
     ## App specific configs
     # Pagination
     # How many posts per page are displayed
@@ -90,12 +96,6 @@ class DefaultConfig(object):
     # The length of the topic title in characters on the index
     TITLE_LENGTH = 15
 
-    # This is really handy if you do not have an redis instance like on windows
-    REDIS_ENABLED = True
-    REDIS_HOST = 'localhost'
-    REDIS_PORT = 6379
-    REDIS_DB = 0
-
     # The days for how long the forum should deal with unread topics
     # 0 - Disable it
     TRACKER_LENGTH = 7