mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-01 08:26:03 +00:00
perf(instances): a VM page does not wait for the guest agent's addresses
A running VM's page read its addresses while it rendered: the guest agent, when its channel is connected but it does not answer, holds the page (and a gunicorn worker) for its whole 10 s timeout, on every load. The page now shows them once it has loaded: vm_addresses.js asks the new instances/<pk>/addresses/ for each NIC's addresses and fills the header's IPv4 and each network card's IPv4 and IPv6.
This commit is contained in:
parent
bf736942eb
commit
aab8dbf1df
18 changed files with 600 additions and 449 deletions
|
|
@ -83,6 +83,7 @@ DENIED = (403, 404)
|
|||
VIEW_VM = {
|
||||
"instances:instance",
|
||||
"instances:status",
|
||||
"instances:nic_addresses",
|
||||
"instances:stats",
|
||||
"instances:osinfo",
|
||||
"instances:sshkeys",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue