lucko / spark

A performance profiler for Minecraft clients, servers, and proxies.
https://spark.lucko.me/
GNU General Public License v3.0
1.05k stars 144 forks source link

Statistics in live view do not update on Windows localhost server. #454

Open michal-luczak opened 2 months ago

michal-luczak commented 2 months ago

Description

When i run /spark profiler start and then /spark profiler open and go to web live profiler then the statistics and timings seems to not being updated. I have my server on localhost (Windows 11). Weird is that no error at browser console occure and also Latency in live profiler updates. image

Reproduction Steps

  1. Run Paper 1.21.1-77-master@4ff58c4 server at localhost.
  2. Execute command /spark profiler start
  3. Execute command /spark profiler open
  4. Go to given link

Expected Behaviour

Statistics should be updated through websocket every 10 seconds.

Platform Information

Spark Version

v1.10.105

Logs and Configs

No response

Extra Details

No response

michal-luczak commented 2 months ago

When I run server as docker container, statistics update correctly. Probably works properly on Linux and on Windows not.