LeventHAN / SquadStatsJSPRO

An advanced version of SquadStatJS (tracking your squad stats) with advanced discord commands to manage your discord server. (Soon with inbuild stat website)
MIT License
34 stars 29 forks source link

[Change] - Latest TPS Change the way it gathers #59

Closed LeventHAN closed 2 years ago

LeventHAN commented 2 years ago

Latest TPS should be listened from SocketIO instead of taking the last data from DB.

Using TICK_RATE.

watchful-eyes commented 2 years ago

👍

Update Suggestion:

maybe adding cache (like layerHistory in SQJS) ❔

LeventHAN commented 2 years ago

👍

Update Suggestion:

maybe adding cache (like layerHistory in SQJS) ❔

  • for TPS due to in every page it starts from 0 because it waits the TICK_RATE event happen, also for smooth and more sexy look

Nice idea... But might be not needed since TPS comes every few seconds 👍

LeventHAN commented 2 years ago

Update: SocketIO is pretty fast so no need for this anymore.