REALITY: Add rate limiting to fallback handling via token bucket

This commit is contained in:
Meo597 2025-03-26 22:45:01 +08:00
parent 800b8b50cc
commit 7ee575ed2a
6 changed files with 132 additions and 32 deletions

View file

@ -25,4 +25,11 @@ message Config {
string spider_x = 25;
repeated int64 spider_y = 26;
string master_key_log = 27;
double limit_upload_rate = 28;
sint64 limit_upload_brust = 29;
sint64 limit_upload_after = 30;
double limit_download_rate = 31;
sint64 limit_download_brust = 32;
sint64 limit_download_after = 33;
}