]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tile/templates/default/tile.conf.erb
Ignore errors reloading apache on tile servers
[chef.git] / cookbooks / tile / templates / default / tile.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 # Set location of renderd socket
4 ModTileRenderdSocketName /var/run/renderd/renderd.sock
5
6 # Set location of tile directory
7 ModTileTileDir /srv/tile.openstreetmap.org/tiles
8
9 # Time to wait for a re-render before serving a dirty tile
10 ModTileRequestTimeout 2
11
12 # Timeout before giving up for a tile to be rendered that is otherwise missing
13 ModTileMissingRequestTimeout 10
14
15 # Don't try and re-render dirty tiles if the load is higher than this
16 ModTileMaxLoadOld 36
17
18 # Don't try and render missing tiles if the load is higher than this
19 ModTileMaxLoadMissing 72
20
21 # Maximum expiry to set on a tile
22 ModTileCacheDurationMax 604800
23
24 # Expiry time for dirty tiles that have been queued for re-rendering
25 ModTileCacheDurationDirty 900
26
27 # Minimum expiry time for fresh tiles
28 ModTileCacheDurationMinimum 10800
29 ModTileCacheDurationMediumZoom 13 86400
30 ModTileCacheDurationLowZoom 9 518400
31
32 # Factor controlling effect of last modification time on expiry
33 ModTileCacheLastModifiedFactor 0.20
34
35 # Load tile configuration
36 LoadTileConfigFile /etc/renderd.conf