Skip to content

Commit f11bc3f

Browse files
committed
set default backend poll weight to 1 to not change behavior of current
1 parent 7452e8a commit f11bc3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/protobuf/rpc/servers/zmq/broker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def running?
6565
private
6666

6767
def backend_poll_weight
68-
@backend_poll_weight ||= [ENV["PB_ZMQ_SERVER_BACKEND_POLL_WEIGHT"].to_i, 2].max
68+
@backend_poll_weight ||= [ENV["PB_ZMQ_SERVER_BACKEND_POLL_WEIGHT"].to_i, 1].max
6969
end
7070

7171
def frontend_poll_weight

0 commit comments

Comments
 (0)