mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-04 03:19:38 +00:00
fix cpu_usage waiting for instance creation.
This commit is contained in:
@@ -51,7 +51,7 @@ class Compute(Model):
|
||||
|
||||
@cached_property
|
||||
def cpu_usage(self):
|
||||
return round(self.proxy.get_cpu_usage().get('usage'))
|
||||
return round(self.proxy.get_cpu_usage(diff=False).get('usage'))
|
||||
|
||||
@cached_property
|
||||
def ram_size(self):
|
||||
|
||||
Reference in New Issue
Block a user