Skip to content

Commit a7c1299

Browse files
authored
[core] removing mysql config and will add this config in doc (#2841)
1 parent 2a9fb19 commit a7c1299

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

desktop/core/src/desktop/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,16 +642,13 @@ def default_from_email():
642642
_default_from_email = "hue@" + fqdn
643643
return _default_from_email
644644

645-
from indexer.conf import ENABLE_DIRECT_UPLOAD # Circular dependency
646645

647646
def default_database_options():
648647
"""Database type dependent options"""
649648
if DATABASE.ENGINE.get().endswith('oracle'):
650649
return {'threaded': True}
651650
elif DATABASE.ENGINE.get().endswith('sqlite3'):
652651
return {'timeout': 30}
653-
elif DATABASE.ENGINE.get().endswith('mysql') and ENABLE_DIRECT_UPLOAD: # Setting this variable to 64MB because mysql5.7
654-
return {'init_command': 'SET GLOBAL max_allowed_packet=67108864'} # has default value of this variable 4MB
655652
else:
656653
return {}
657654

0 commit comments

Comments
 (0)