From c150ca612b33038bdd3127978e0fd7d8c0099785 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 8 Nov 2022 20:06:16 +0000 Subject: [PATCH] simplify authorization types so we can pass them deeper easily --- TODO.md | 1 + migration/src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/TODO.md b/TODO.md index 7533676a..22863a1b 100644 --- a/TODO.md +++ b/TODO.md @@ -228,6 +228,7 @@ These are roughly in order of completition - we have bearer token auth for user_id, but rpc_key_id needs more code - [x] use rpc_key_id instead of user_id in the redirect - [x] /status should include the server weights +- [x] improve rate limiting anon ips - [-] add configurable size limits to all the Caches - instead of configuring each cache with MB sizes, have one value for total memory footprint and then percentages for each cache - [ ] test that runs check_config against example.toml diff --git a/migration/src/lib.rs b/migration/src/lib.rs index 51000b56..e8ff40d9 100644 --- a/migration/src/lib.rs +++ b/migration/src/lib.rs @@ -9,6 +9,7 @@ mod m20221026_230819_rename_user_keys; mod m20221027_002407_user_tiers; mod m20221031_211916_clean_up; mod m20221101_222349_archive_request; +mod m20221108_200345_save_anon_stats; pub struct Migrator; @@ -25,6 +26,7 @@ impl MigratorTrait for Migrator { Box::new(m20221027_002407_user_tiers::Migration), Box::new(m20221031_211916_clean_up::Migration), Box::new(m20221101_222349_archive_request::Migration), + Box::new(m20221108_200345_save_anon_stats::Migration), ] } }