mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
perf(web-app-openwebui): poll the MCP grant every 3 s instead of every 10 s
The grant runs right after compose up recreated Open WebUI, so its first attempt meets a server that is still starting; full-7 and full-8 both logged one retry and spent 21.9 s and 21.6 s on the task, most of it the fixed 10 s delay. retries 100 with delay 3 keeps the 300 s budget for a refusing server and lets the second attempt start after 3 s. A server that accepts and then hangs costs each attempt up to the script's 30 s urlopen timeout, so that failure now surfaces after about 3300 s instead of 1200 s; it fails the same way. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
9e2afff43b
commit
b625247d5b
1 file changed
+2
-2
@@ -24,8 +24,8 @@
|
||||
- "-"
|
||||
stdin: "{{ lookup('file', 'python/provision_mcp_grants.py') }}"
|
||||
register: openwebui_mcp_grants
|
||||
retries: 30
|
||||
delay: 10
|
||||
retries: 100
|
||||
delay: 3
|
||||
until: openwebui_mcp_grants.rc == 0
|
||||
changed_when: openwebui_mcp_grants.stdout.startswith('CHANGED')
|
||||
no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}"
|
||||
|
||||
Reference in new issue
Block a user