Coder Social home page Coder Social logo

Comments (10)

ChanceSD avatar ChanceSD commented on July 23, 2024 1

Alright, i guess that helps explain this. I will make saving to file run async though.

from pvpmanager.

ChanceSD avatar ChanceSD commented on July 23, 2024

I wouldn't say causing lag, in 301 seconds it used 0.187 and in average the PlayerQuitEvent took 27 ms which is nothing you could actually notice but i will see what i can do.

from pvpmanager.

Murabitos avatar Murabitos commented on July 23, 2024

It's a slight lag spike. I only noticed it because it was highlighted in red in the timings report. Thought maybe you could do something about it. Thanks :)

from pvpmanager.

EvilOlaf avatar EvilOlaf commented on July 23, 2024

What about 316% ?
0.39% 316.79% 2.22 s 158.40 ms 0.0 0.0k PlayerListener::onPlayerLogout(PlayerQuitEvent)

from pvpmanager.

ChanceSD avatar ChanceSD commented on July 23, 2024

@EvilOlaf The only thing i can think of is that saving to file (which is done on playerquitevent) would make that happen. Just curious, is your server running on a SSD or regular disk?

from pvpmanager.

EvilOlaf avatar EvilOlaf commented on July 23, 2024

Unfortunately normal hard drive. It is dedicated though.

from pvpmanager.

ChanceSD avatar ChanceSD commented on July 23, 2024

@EvilOlaf Can you see if this helps? Also if you have pvpmanager set to apply fines on pvp log then your economy plugin could be slowing down this method.

from pvpmanager.

EvilOlaf avatar EvilOlaf commented on July 23, 2024

Yeah I can do that.
I do not use economy with PM.

from pvpmanager.

ChanceSD avatar ChanceSD commented on July 23, 2024

I assume this hasn't caused more issues?

from pvpmanager.

EvilOlaf avatar EvilOlaf commented on July 23, 2024

Don't think so. Guess we're cool here.

from pvpmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.