@@ -40,7 +40,7 @@ def self.boolean_setting(name, _default_value)
40
40
# RabbitMQ hostname
41
41
string_setting :mq_host , '127.0.0.1'
42
42
43
- # RabbitMQ Exchange
43
+ # RabbitMQ Exchange to use for publishing
44
44
string_setting :mq_exchange , 'hutch'
45
45
46
46
# RabbitMQ vhost to use
@@ -63,18 +63,28 @@ def self.boolean_setting(name, _default_value)
63
63
64
64
# [RabbitMQ heartbeat timeout](http://rabbitmq.com/heartbeats.html)
65
65
number_setting :heartbeat , 30
66
+ # The <tt>basic.qos</tt> prefetch value to use. Default: `0`, no limit. See Bunny and RabbitMQ documentation.
66
67
number_setting :channel_prefetch , 0
68
+ # Bunny's socket open timeout
67
69
number_setting :connection_timeout , 11
70
+ # Bunny's socket read timeout
68
71
number_setting :read_timeout , 11
72
+ # Bunny's socket write timeout
69
73
number_setting :write_timeout , 11
74
+ # FIXME: DOCUMENT THIS
70
75
number_setting :graceful_exit_timeout , 11
76
+ #
71
77
number_setting :consumer_pool_size , 1
72
78
73
79
boolean_setting :mq_tls , false
80
+ # Should SSL certificate be verified?
74
81
boolean_setting :mq_verify_peer , true
75
82
boolean_setting :mq_api_ssl , false
76
83
boolean_setting :autoload_rails , true
84
+ # Should the Hutch runner process daemonise?
77
85
boolean_setting :daemonise , false
86
+ # Enables publisher confirms. Leaves it up to the app how they are tracked
87
+ # (e.g. using Hutch::Broker#confirm_select callback or Hutch::Broker#wait_for_confirms)
78
88
boolean_setting :publisher_confirms , false
79
89
boolean_setting :force_publisher_confirms , false
80
90
boolean_setting :enable_http_api_use , true
0 commit comments