浏览代码

[core] Add note about threaded option and Oracle databases

Romain Rigaux 11 年之前
父节点
当前提交
553faf6
共有 3 个文件被更改,包括 11 次插入11 次删除
  1. 5 5
      desktop/conf.dist/hue.ini
  2. 5 5
      desktop/conf/pseudo-distributed.ini.tmpl
  3. 1 1
      desktop/core/src/desktop/conf.py

+ 5 - 5
desktop/conf.dist/hue.ini

@@ -278,15 +278,15 @@
           # The username attribute in the LDAP schema
           ## group_name_attr=cn
 
-  # Configuration options for specifying the Desktop Database.  For more info,
-  # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
+  # Configuration options for specifying the Desktop Database. For more info,
+  # see http://docs.djangoproject.com/en/1.4/ref/settings/#database-engine
   # ------------------------------------------------------------------------
   [[database]]
     # Database engine is typically one of:
-    # postgresql_psycopg2, mysql, or sqlite3
+    # postgresql_psycopg2, mysql, sqlite3 or oracle.
     #
-    # Note that for sqlite3, 'name', below is a filename;
-    # for other backends, it is the database name.
+    # Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name.
+    # Note for Oracle, options={'threaded':true} must be set in order to avoid crashes.
     ## engine=sqlite3
     ## host=
     ## port=

+ 5 - 5
desktop/conf/pseudo-distributed.ini.tmpl

@@ -285,15 +285,15 @@
           # The username attribute in the LDAP schema
           ## group_name_attr=cn
 
-  # Configuration options for specifying the Desktop Database.  For more info,
-  # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
+  # Configuration options for specifying the Desktop Database. For more info,
+  # see http://docs.djangoproject.com/en/1.4/ref/settings/#database-engine
   # ------------------------------------------------------------------------
   [[database]]
     # Database engine is typically one of:
-    # postgresql_psycopg2, mysql, or sqlite3
+    # postgresql_psycopg2, mysql, sqlite3 or oracle.
     #
-    # Note that for sqlite3, 'name', below is a filename;
-    # for other backends, it is the database name.
+    # Note that for sqlite3, 'name', below is a a path to the filename. For other backends, it is the database name.
+    # Note for Oracle, options={'threaded':true} must be set in order to avoid crashes.
     ## engine=sqlite3
     ## host=
     ## port=

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -225,7 +225,7 @@ SMTP = ConfigSection(
 DATABASE = ConfigSection(
   key='database',
   help=_("""Configuration options for specifying the Desktop Database.
-          For more info, see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine"""),
+          For more info, see http://docs.djangoproject.com/en/1.4/ref/settings/#database-engine"""),
   members=dict(
     ENGINE=Config(
       key='engine',