Skip to content
Snippets Groups Projects
Commit c93cceb9 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

note that libevent does not have an an easy way to reset buckets atm

parent b49cf6a7
No related branches found
No related tags found
No related merge requests found
......@@ -401,6 +401,7 @@ connection_or_update_token_buckets_helper(or_connection_t *conn, int reset,
if (old_cfg)
ev_token_bucket_cfg_free(old_cfg);
conn->bucket_cfg = cfg;
(void) reset; /* No way to do this with libevent yet. */
}
#else
if (reset) { /* set up the token buckets to be full */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment