mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 19:11:51 +00:00
* Defer admin profiling access until the admin logs in - Saves 69ms (#71680) Just some unnecessary costs. We create `/datum/admins` for every admin in the txt and database. It might sound silly, but it ends up being useful for things like the permissions panel. Anyway, admins are usually given profiling access, but the SetConfig call is extremely slow. So slow that we have it config'd off on Campbell, AFAIK. This defers that cost to when an admin joins. This could in theory cause issues with latejoining admins getting debug perms, but it appears to work in testing. noting for far future * Defer admin profiling access until the admin logs in - Saves 69ms Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>