fix rate limiting issues

This commit is contained in:
Volodymyr Bychkovyak
2023-03-22 02:49:46 -07:00
parent a9cef81657
commit a6ecf60ad1
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ extern "C" {
#define PV_DISPLAY_FINETA 512
#define RATE_GRANULARITY 100000 /* usec between -L rate chunks */
#define RATE_BURST_WINDOW 5 /* rate burst window (multiples of rate) */
#define REMOTE_INTERVAL 100000 /* usec between checks for -R */
#define BUFFER_SIZE 409600 /* default transfer buffer size */
#define BUFFER_SIZE_MAX 524288 /* max auto transfer buffer size */