File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff 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
647646def 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
You can’t perform that action at this time.
0 commit comments