Closed blimyj closed 3 years ago
Could you rebase this on the release/v2.0 branch please? The current changes are based on master so there's a merge commit that shouldn't be there & there are conflicts where the release branch has diverged.
Hmm, I think it might be better to close my PR. I don't fully understand the code in release/v2.0 but I think it already covers my fix and adds a new design pattern? (Runnables?) so my PR is no longer necessary. My bad for not realizing earlier, apologies 😅.
Oh, sorry for not realising earlier! The work on the branch at the moment is mostly for #520 - 2.0.0 has an issue where if the server's connection with the database has high latency, it causes huge lag spikes, since queries are run on the main thread. 2.0.1 aims to fix this by using promises (specifically CompletableFuture). There's a lot of work I'm doing to change everywhere in the codebase that currently runs queries in the main thread to do so in a future instead, so it doesn't block.