Reimplement the QueryCache as an LRU cache with size limit

Authored by dvratil on Dec 1 2018, 10:54 AM.

Description

Reimplement the QueryCache as an LRU cache with size limit

We may end up with a lot of very similar queries in the cache due to
query storm on start, some of them being fairly long. We can avoid
the cache growing too much by turning it into an LRU cache and limiting
its size.

Details

Committed
dvratilDec 1 2018, 11:59 AM
Parents
R165:182a334b6b8a: Add a wrapper header for std::(experimental::)optional
Branches
Unknown
Tags
Unknown