mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Increase clientIDAddrMapCapacity to 98304.
Recent increases in usage have exhausted the capacity of the map. https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40173
This commit is contained in:
parent
cbc50592d8
commit
8e5af50bdb
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ const clientMapTimeout = 1 * time.Minute
|
|||
// How big to make the map of ClientIDs to IP addresses. The map is used in
|
||||
// turbotunnelMode to store a reasonable IP address for a client session that
|
||||
// may outlive any single WebSocket connection.
|
||||
const clientIDAddrMapCapacity = 10240
|
||||
const clientIDAddrMapCapacity = 98304
|
||||
|
||||
// How long to wait for ListenAndServe or ListenAndServeTLS to return an error
|
||||
// before deciding that it's not going to return.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue