Permalink
Browse files

adding rabbit config for keepalive

  • Loading branch information...
1 parent fdd7b01 commit 172fee83eda02362c9b467cb52d117b941519f91 @buzztroll committed Apr 7, 2012
Showing with 22 additions and 0 deletions.
  1. +22 −0 rabbitmq.config
View
@@ -0,0 +1,22 @@
+%%%
+%% copied in
+%%%
+
+[
+ {rabbit, [
+ {ssl_listeners, [{"0.0.0.0", 5671}]},
+ {ssl_options, [{cacertfile,"/etc/ssl/rabbitmq/testca/cacert.pem"},
+ {certfile,"/etc/ssl/rabbitmq/server/cert.pem"},
+ {keyfile,"/etc/ssl/rabbitmq/server/key.pem"},
+ {verify,verify_none},
+ {fail_if_no_peer_cert,false}]},
+ {tcp_listeners, [{"0.0.0.0", 5672}]},
+{tcp_listen_options, [binary,
+ {packet, raw},
+ {reuseaddr, true},
+ {backlog, 128},
+ {nodelay, true},
+ {exit_on_close, false},
+ {keepalive, true}]}
+ ]}
+].

0 comments on commit 172fee8

Please sign in to comment.