Skip to content

Commit

Permalink
emit bytes totals as Double from android ConduitModule
Browse files Browse the repository at this point in the history
  • Loading branch information
tmgrask committed Sep 25, 2024
1 parent c8b72cb commit bcfc72b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ private void emitProxyActivityStats(ProxyActivityStats stats) {
WritableMap proxyActivityStatsMap = Arguments.createMap();

proxyActivityStatsMap.putInt("elapsedTime", (int) stats.getElapsedTime());
proxyActivityStatsMap.putInt("totalBytesUp", (int) stats.getTotalBytesUp());
proxyActivityStatsMap.putInt("totalBytesDown", (int) stats.getTotalBytesDown());
proxyActivityStatsMap.putDouble("totalBytesUp", stats.getTotalBytesUp());
proxyActivityStatsMap.putDouble("totalBytesDown", stats.getTotalBytesDown());
proxyActivityStatsMap.putInt("currentConnectingClients", stats.getCurrentConnectingClients());
proxyActivityStatsMap.putInt("currentConnectedClients", stats.getCurrentConnectedClients());

Expand Down

0 comments on commit bcfc72b

Please sign in to comment.