Skip to content

Commit 9f72b28

Browse files
committed
Dashboard: fix network speed calculation
1 parent 6ef719f commit 9f72b28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

emhttp/plugins/dynamix/nchan/update_3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ while (true) {
161161

162162
publish_noDupe('update3',json_encode($echo));
163163
ping('dashboardPing');
164-
164+
165165
sleep(1);
166+
$time0 = $time1;
166167
$time1 = microtime(true);
167168
}

0 commit comments

Comments
 (0)