mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-15 04:47:16 +03:00
REALITY: Add rate limiting to fallback handling via token bucket (#4553)
https://github.com/XTLS/REALITY/pull/12
This commit is contained in:
@ -25,4 +25,13 @@ message Config {
|
||||
string spider_x = 25;
|
||||
repeated int64 spider_y = 26;
|
||||
string master_key_log = 27;
|
||||
|
||||
LimitFallback limit_fallback_upload = 28;
|
||||
LimitFallback limit_fallback_download = 29;
|
||||
}
|
||||
|
||||
message LimitFallback {
|
||||
uint64 after_bytes = 1;
|
||||
uint64 bytes_per_sec = 2;
|
||||
uint64 burst_bytes_per_sec = 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user