Skip to content

Commit c81b54e

Browse files
authored
Merge pull request #2343 from bergware/master
Dashboard: fix network speed calculation
2 parents fb6ce68 + 9f72b28 commit c81b54e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)