Skip to content

Commit

Permalink
Start two worker threads per connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Apr 2, 2024
1 parent 91a62b8 commit 0709547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rtp_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def __init__(self, global_config, name, address = '/var/run/rtpproxy.sock', \
if len(address) == 2:
if not dry_run:
uopts = Udp_server_opts(address, self.up_command_udp)
uopts.nworkers = 2
self.ccm = Udp_server(global_config, uopts)
else:
sown = global_config.get('_rtpc_sockowner', None)
Expand Down

0 comments on commit 0709547

Please sign in to comment.