poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
132 stars 44 forks source link

Still causing lag #81

Closed SCGamesNetwork closed 2 years ago

SCGamesNetwork commented 2 years ago

I use libasynql by using the sample code why is it still lag? even though I have set it in config worker-limit to 5.

Environment OS: Ubuntu 18.04 PocketMine version: 4.3.1

SOF3 commented 2 years ago

what do you mean by "it still lag"? what exactly did you observe?

SCGamesNetwork commented 2 years ago

freezes my server, I can't place blocks and destroy blocks, and can't even move because it freezes, even though my server doesn't have any plugins

SOF3 commented 2 years ago

if it doesn't have any plugins, how does it have anything to do with libasynql at all?

SCGamesNetwork commented 2 years ago

I mean apart from libasynql and my plugins nothing else. and I don't run libasynql in the repeating task or in other tasks.

SOF3 commented 2 years ago

Seems your plugin uses libasynql incorrectly, or your plugin has some other incorrect code.