CivClassic / ExilePearl

For when you really just don't want that dude HERE but don't care if he plays - Paper plugin built for 1.16.5 Minecraft - Anti-grief tool built for players, not mods.
MIT License
0 stars 18 forks source link

Pearl decay is still laggy #75

Open Maxopoly opened 3 years ago

Maxopoly commented 3 years ago

[14:06:48 INFO]: [ExilePearl] Pearl decay completed in 636ms. Processed 337 and freed 0.

According to other logs only 1 or 2 pearls were actually processed, all other were skipped due to unloaded chunks. Initial few checks also warned

[14:06:48 WARN]: [com.zaxxer.hikari.pool.PoolBase] HikariPool-10 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@2ffc5a8c (No operations allowed after connection closed.). Possibly consider using 
a shorter maxLifetime value.  

Mabye sync db queries (alt lookups etc.) are the issue? We could do all the actual calculation async and then apply only the changes sync?