[relay] F23: quotas (507), a NixOS module behind Caddy with TLS and no logs, and a VM test that no address is kept

This commit is contained in:
2026-11-16 11:39:18 +01:00
parent 2a8daa7570
commit dd576f9feb
11 changed files with 773 additions and 11 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
//! `tabellarius-relay [--listen 127.0.0.1:8470] [--db tabellarius-relay.db]`
//! `tabellarius-relay [--listen 127.0.0.1:8470] [--db tabellarius-relay.db] [--max-bytes N]
//! [--max-mailboxes N] [--max-invites N]`
//!
//! Prints one line at start (version and address) and nothing per request.
@@ -24,7 +25,7 @@ async fn main() {
std::process::exit(2);
}
};
let store = match Store::open(&args.db) {
let store = match Store::open_with(&args.db, args.limits) {
Ok(s) => Arc::new(s),
Err(_) => {
eprintln!(