Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Plugin causes server lag #306

Open
CaesarGalahad opened this issue Aug 31, 2024 · 4 comments
Open

[Bug]: Plugin causes server lag #306

CaesarGalahad opened this issue Aug 31, 2024 · 4 comments
Assignees
Labels
pinned A pinned issue that will not be considered stale triage The bug is unconfirmed and needs to be tested

Comments

@CaesarGalahad
Copy link

Version of BlockProt

1.2.1,leaf1.21.1

Description of the bug

Plugin causes server lag
HopperEventListener causes severe lag

SERVER INFO
BlockProt version 1.2.1
Server version leaf 1.21.1

INFO
a402bf36c247c806fa28899061dfe0e3
a402bf36c247c806fa28899061dfe0e3
26384d767051c77fadeb9fcf32565936

Steps to reproduce

Plugin causes server lag
HopperEventListener causes severe lag

Additional context

No response

@CaesarGalahad CaesarGalahad added the triage The bug is unconfirmed and needs to be tested label Aug 31, 2024
@spnda
Copy link
Owner

spnda commented Aug 31, 2024

Yes, I know, it's not really optimized.

The only way to fix this is by rewriting the core of the plugin to use a slightly different mechanism for reading/writing data which should drastically help with performance. However, I just don't have the time to write that and test it, mostly because I have more important things to look after and I don't get anything from this project. I am currently only fixing bugs and updating to new versions, since that's fairly trivial.

I'll still leave this open as it's a valid issue that needs to be worked on in the future.

@mrchilliballs
Copy link

mrchilliballs commented Sep 3, 2024

Same here, it seems to only happen when hopper minecarts are sucking items from a chest. Brings down server TPS from 20 to 16.
Screenshot 2024-09-03 at 10 43 58 AM

@mrchilliballs
Copy link

mrchilliballs commented Sep 3, 2024

I recorded a video of a super smelter becoming a literal toggle-able lag machine:

Copy link

stale bot commented Dec 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue that was closed due to inactivity label Dec 3, 2024
@spnda spnda added pinned A pinned issue that will not be considered stale and removed stale A stale issue that was closed due to inactivity labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned A pinned issue that will not be considered stale triage The bug is unconfirmed and needs to be tested
Projects
None yet
Development

No branches or pull requests

3 participants