Skip to content

Commit

Permalink
fix: fake latency is not affecting hp masternodes (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Aug 13, 2024
1 parent 3abe0cc commit dcae029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Bootstrap

- name: Remove latency on masternodes before deployment starts
hosts: masternodes
hosts: masternodes,hp_masternodes
become: true
roles:
- remove_fake_latency
Expand Down Expand Up @@ -294,7 +294,7 @@
- role: mn_protx_diff

- name: Set up fake latency on masternodes
hosts: masternodes
hosts: hp_masternodes,masternodes
become: true
roles:
- role: add_fake_latency
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/add_fake_latency/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
- name: Generate fake latency
ansible.builtin.command: tc qdisc replace dev ens5 root netem delay {{ masternode_network_latency_max }}ms {{ masternode_network_latency_min }}ms 25%
register: my_output
changed_when: my_output.rc != 0
changed_when: my_output.rc == 0

0 comments on commit dcae029

Please sign in to comment.