From a38fd9bc5bf508d029ff2557311caeb487638968 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 10 Apr 2018 13:19:25 -0400 Subject: Replace the global buckets with token_bucket_t --- src/or/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/connection.h') diff --git a/src/or/connection.h b/src/or/connection.h index acc63640d1..4a57bd311b 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -122,7 +122,7 @@ void connection_mark_all_noncontrol_connections(void); ssize_t connection_bucket_write_limit(connection_t *conn, time_t now); int global_write_bucket_low(connection_t *conn, size_t attempt, int priority); void connection_bucket_init(void); -void connection_bucket_refill(int seconds_elapsed, time_t now, +void connection_bucket_refill(time_t now, uint32_t now_ts); int connection_handle_read(connection_t *conn); -- cgit v1.2.3-54-g00ecf