mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add optional rate limiting for oauth entrypoint
This commit is contained in:
1 parent
b3e4f516ea
commit
249751a1e9
4 files changed
+129
-2
No files matched your search
@@ -22,6 +22,10 @@ pub struct CliArgs {
|
||||
/// Verify configuration and then exit
|
||||
#[arg(long)]
|
||||
pub validate: bool,
|
||||
|
||||
/// Rate limit incoming federated auth requests
|
||||
#[arg(long)]
|
||||
pub chill: bool,
|
||||
}
|
||||
|
||||
impl CliArgs {
|
||||
|
||||
Reference in new issue
Block a user