mirror of
https://github.com/20kaushik02/real-time-traffic-analysis-clickhouse.git
synced 2025-12-06 06:54:07 +00:00
added sleep after creating additional shard
This commit is contained in:
parent
56df05ef93
commit
1549c39325
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user