tileTreeExpirationTime

tileTreeExpirationTime: undefined | number

The minimum number of seconds to keep a TileTree in memory after it has become disused. Each time a TileTree is drawn, we record the current time as its most-recently-used time. Periodically we traverse all TileTrees in the system. Any which have not been used within this specified number of seconds will be discarded, freeing up memory.

note This is separate from TileAdmin.Props.tileExpirationTime, which is applied to individual Tiles each time the TileTree is drawn.

Default value: 300 seconds (5 minutes). Minimum value: 10 seconds. Maximum value: 3600 seconds (1 hour).

Defined in

Last Updated: 20 June, 2023