@scrypted/server 0.7.60 → 0.7.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @scrypted/server might be problematic. Click here for more details.
- package/package.json +1 -1
- package/python/plugin_remote.py +2 -2
package/package.json
CHANGED
package/python/plugin_remote.py
CHANGED
@@ -617,13 +617,13 @@ class PluginRemote:
|
|
617
617
|
pass
|
618
618
|
|
619
619
|
async def start_stats_runner(self):
|
620
|
-
update_stats = await self.peer.getParam('updateStats')
|
620
|
+
update_stats = await self.peer.getParam('updateStats')
|
621
621
|
if not update_stats:
|
622
622
|
print('host did not provide update_stats')
|
623
623
|
return
|
624
624
|
|
625
625
|
def stats_runner():
|
626
|
-
ptime = round(time.process_time() * 1000000)
|
626
|
+
ptime = round(time.process_time() * 1000000) + self.ptimeSum
|
627
627
|
try:
|
628
628
|
import psutil
|
629
629
|
process = psutil.Process(os.getpid())
|