Skip to content
Snippets Groups Projects
Commit eb5c7b9d authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

2.15.2

parent de9266e0
No related branches found
Tags v2.15.2
No related merge requests found
...@@ -2,3 +2,4 @@ ...@@ -2,3 +2,4 @@
* changed schema's file to return a file-object * changed schema's file to return a file-object
* more `ThreadCollection` methods return self, permitting writing more conciser code * more `ThreadCollection` methods return self, permitting writing more conciser code
* fix a bug in `ThreadCollection`
__version__ = '2.15.2a3' __version__ = '2.15.2'
...@@ -56,7 +56,7 @@ class CPUProfileBuilderThread(threading.Thread): ...@@ -56,7 +56,7 @@ class CPUProfileBuilderThread(threading.Thread):
def recalculate(self) -> None: def recalculate(self) -> None:
data = [] data = []
calculate_occupancy_factor() # as first values tend to be a bit wonky calculate_occupancy_factor() # as first values tend to be a bit wonky
for _ in range(self.window_size): for _ in range(int(self.window_size)):
time.sleep(1) time.sleep(1)
data.append(calculate_occupancy_factor()) data.append(calculate_occupancy_factor())
percentiles = [] percentiles = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment