Cache strict sysident mappings
authorMichael Marley <michael@michaelmarley.com>
Wed, 4 Apr 2018 12:25:14 +0000 (08:25 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 7 May 2018 20:38:41 +0000 (22:38 +0200)
To avoid unnecessary database hits, we store a mapping of all permitted
strict sysidents in memory. This mapping is reloaded on SIGHUP.

A miss will make a call to the database.

Co-authored-by: Sai Nane <esainane+github@gmail.com>
Co-authored-by: Michael Marley <michael@michaelmarley.com>

No differences found