added sleep after creating additional shard

This commit is contained in:
Lalit Arvind 2024-12-01 10:36:21 -07:00
parent 56df05ef93
commit 1549c39325

View File

@ -19,7 +19,6 @@ def check_util_exec():
if re.findall(r'clickhouse-server',service['Name']):
if float(service['MemPerc'][:-1]) < 50:
resource_util_exceed_flag = False
if resource_util_exceed_flag:
print("Config update triggered")
process = subprocess.Popen(['python3','../clickhouse/config_update_scripts/update_compose.py'],text=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE)