Note: This is a resubmission of #10 due to accidental closing
This removes gametime from visuals redis keys and multiplies the timeout for visuals by config.visualCacheTicks (Set to 20).
This allows visuals to be 'sticky' after rendering, reducing CPU usage by not having to render visuals every tick.
As discussed in #10, we could add a method to RoomVisual to toggle sticky status (Use visualCacheTicks if enabled, otherwise 1)
Companion PR for backend at screeps/backend-local#7
Note: This is a resubmission of #10 due to accidental closing This removes gametime from visuals redis keys and multiplies the timeout for visuals by config.visualCacheTicks (Set to 20). This allows visuals to be 'sticky' after rendering, reducing CPU usage by not having to render visuals every tick. As discussed in #10, we could add a method to RoomVisual to toggle sticky status (Use visualCacheTicks if enabled, otherwise 1) Companion PR for backend at screeps/backend-local#7