mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
Merge branch 'master' of https://github.com/Exultant/Citadel
This commit is contained in:
@@ -95,7 +95,7 @@ public class CitadelCachingDao extends CitadelDao{
|
||||
if( o instanceof Reinforcement ){
|
||||
Reinforcement r = (Reinforcement)o;
|
||||
try{
|
||||
getCacheOfBlock( r.getBlock() ).save( r );
|
||||
getCacheOfBlock( r.getBlock() ).delete( r );
|
||||
}catch( RefuseToPreventThrashingException e ){
|
||||
Citadel.warning( "Bypassing RAM cache to prevent database thrashing. Consider raising caching.max_chunks");
|
||||
super.delete( r );
|
||||
|
||||
Reference in New Issue
Block a user