Files
nomad/helper
Seth Hoenig 87e7ea3609 users: create cache for user lookups (#16100)
* users: create cache for user lookups

This PR introduces a global cache for OS user lookups. This should
relieve pressure on the OS domain/directory lookups, which would be
queried more now that Task API exists.

Hits are cached for 1 hour, and misses are cached for 1 minute. These
values are fairly arbitrary - we can tweak them if there is any reason to.

Closes #16010

* users: delete expired negative entry from cache
2023-02-09 08:37:50 -06:00
..
2018-10-30 13:58:52 -04:00
2022-09-26 08:28:03 -05:00
2019-01-22 15:44:31 -08:00
2020-12-09 11:05:18 -08:00
2022-01-18 08:35:26 -06:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2022-04-09 13:22:44 +02:00