Skip to content

Commit

Permalink
Increases mt_runner_timeout to 120 seconds by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 22, 2024
1 parent 72cbbaf commit 880b814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ mt_runner_bt_mt5_config:
mt_runner_cmd_prefix: wine
mt_runner_get_url_list: []
mt_runner_mt_version: '{{ metatrader_version | default(5) | int }}'
mt_runner_timeout: 60
mt_runner_timeout: 120
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
ansible.builtin.async_status:
jid: '{{ cmd_terminal_async.ansible_job_id }}'
changed_when: false
delay: 10
delay: 10 # How much time to wait between retries.
register: cmd_terminal_async_status
until: cmd_terminal_async_status is finished
retries: "{{ mt_runner_timeout // 10 }}"
Expand Down

0 comments on commit 880b814

Please sign in to comment.