cache rivers for a bit longer
This commit is contained in:
parent
ea82cb4901
commit
48d67e6da5
@ -81,7 +81,7 @@ public class RiverMap {
|
||||
this.heightmap = heightmap;
|
||||
this.context = context;
|
||||
this.riverMapConfig = new RiverMapConfig(context.settings.rivers.riverFrequency, primary, secondary, tertiary, lakes);
|
||||
this.cache = new Cache<>(120, 60, TimeUnit.SECONDS);
|
||||
this.cache = new Cache<>(3, 1, TimeUnit.MINUTES);
|
||||
}
|
||||
|
||||
public RiverRegionList getRivers(Region region) {
|
||||
|
Loading…
Reference in New Issue
Block a user