Skip to content

Commit

Permalink
provide a default config for smaller setups (tested with 2 GB ram, pe…
Browse files Browse the repository at this point in the history
…aks at 50%)

closes #96
  • Loading branch information
BuckarooBanzay committed Oct 11, 2023
1 parent 28119bb commit 4583880
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ func ParseConfig(filename string) (*Config, error) {
}

mapblockaccessor := MapBlockAccessorConfig{
Expiretime: "15s",
Purgetime: "30s",
MaxItems: 500,
Expiretime: "10s",
Purgetime: "15s",
MaxItems: 50,
}

defaultoverlays := []string{
Expand All @@ -119,9 +119,9 @@ func ParseConfig(filename string) (*Config, error) {
Webdev: false,
WebApi: &webapi,
Layers: layers,
RenderingFetchLimit: 10000,
RenderingFetchLimit: 500,
RenderingJobs: runtime.NumCPU(),
RenderingQueue: 100,
RenderingQueue: 10,
IncrementalRenderingTimer: "5s",
MapObjects: &mapobjs,
MapBlockAccessorCfg: &mapblockaccessor,
Expand Down

0 comments on commit 4583880

Please sign in to comment.