Cleanup flake8 lint
This commit is contained in:
parent
5410686642
commit
e736923671
|
@ -235,7 +235,7 @@ def parse_config():
|
|||
# Query Cache Configuration
|
||||
mysql_config['query_cache_size'] = config['query-cache-size']
|
||||
if (config['query-cache-size'] == -1 and
|
||||
config['query-cache-type'] in ['ON', 'DEMAND']):
|
||||
config['query-cache-type'] in ['ON', 'DEMAND']):
|
||||
# Calculate the query cache size automatically
|
||||
qcache_bytes = (dataset_bytes * 0.20)
|
||||
qcache_bytes = int(qcache_bytes -
|
||||
|
|
|
@ -98,7 +98,7 @@ def get_cluster_hosts():
|
|||
return hosts
|
||||
|
||||
SQL_SST_USER_SETUP = "GRANT RELOAD, LOCK TABLES, REPLICATION CLIENT ON *.*" \
|
||||
" TO 'sstuser'@'localhost' IDENTIFIED BY '{}'"
|
||||
" TO 'sstuser'@'localhost' IDENTIFIED BY '{}'"
|
||||
|
||||
|
||||
def configure_sstuser(sst_password):
|
||||
|
|
Loading…
Reference in New Issue