Browse Source

[core] removing mysql config and will add this config in doc (#2841)

Ayush Goyal 3 years ago
parent
commit
a7c1299f89
1 changed files with 0 additions and 3 deletions
  1. 0 3
      desktop/core/src/desktop/conf.py

+ 0 - 3
desktop/core/src/desktop/conf.py

@@ -642,7 +642,6 @@ def default_from_email():
     _default_from_email = "hue@" + fqdn
     _default_from_email = "hue@" + fqdn
   return _default_from_email
   return _default_from_email
 
 
-from indexer.conf import ENABLE_DIRECT_UPLOAD  # Circular dependency 
 
 
 def default_database_options():
 def default_database_options():
   """Database type dependent options"""
   """Database type dependent options"""
@@ -650,8 +649,6 @@ def default_database_options():
     return {'threaded': True}
     return {'threaded': True}
   elif DATABASE.ENGINE.get().endswith('sqlite3'):
   elif DATABASE.ENGINE.get().endswith('sqlite3'):
     return {'timeout': 30}
     return {'timeout': 30}
-  elif DATABASE.ENGINE.get().endswith('mysql') and ENABLE_DIRECT_UPLOAD:     # Setting this variable to 64MB because mysql5.7
-    return {'init_command': 'SET GLOBAL max_allowed_packet=67108864'}        # has default value of this variable 4MB
   else:
   else:
     return {}
     return {}