Tradeshop / TradeShop

Unique, new, powerful Minecraft TradeShop plugin!
https://tradeshop.github.io
Apache License 2.0
25 stars 11 forks source link

2.6.2 - Fix JsonShopConfiguration saves #157

Open SparklingComet opened 11 months ago

SparklingComet commented 11 months ago

Pull Request Etiquette

There are several guidelines you should follow in order for your Pull Request to be merged. Replace [ ] with [x] to cross the checkbox.

It is sometimes better to include more related changes in a single commit. If you find yourself having an overwhelming amount of commits, you can rebase your branch.

Changes

Fix for bug reported on discord about shop deletion not being saved/reflected in save files. Also introduces a thread (task) pool system for better performance. The previous async saving implementation relying on HashMaps as semaphores/locks was only a band-aid fix.

I have done some basic testing with 1-2 threads, more stress-testing (more queued save jobs, more threads) would be helpful.

hmlendea commented 2 months ago

Will this get merged?