diff options
Diffstat (limited to 'RemoteDaemon/Transport')
-rw-r--r-- | RemoteDaemon/Transport/Tor.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/RemoteDaemon/Transport/Tor.hs b/RemoteDaemon/Transport/Tor.hs index 20320cadd..344d5aefb 100644 --- a/RemoteDaemon/Transport/Tor.hs +++ b/RemoteDaemon/Transport/Tor.hs @@ -69,10 +69,9 @@ server th@(TransportHandle (LocalRepo r) _) = do hClose h warningIO "dropped Tor connection, too busy" --- How many clients to serve at a time, maximum. This is to avoid DOS --- attacks. +-- How many clients to serve at a time, maximum. This is to avoid DOS attacks. maxConnections :: Int -maxConnections = 10 +maxConnections = 100 serveClient :: TransportHandle -> UUID -> Repo -> TBQueue Handle -> IO () serveClient th u r q = bracket setup cleanup start |