Skip to content

Commit

Permalink
Merge pull request xapi-project#13 from djs55/rrd-should-bypass-switch
Browse files Browse the repository at this point in the history
rrd_client: bypass the message switch
  • Loading branch information
djs55 committed May 9, 2014
2 parents e40200e + 1f31eb4 commit 1615c12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rrd/rrd_client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ module Client = Rrd_interface.Client(struct
let rpc call =
retry_econnrefused
(fun () ->
if !use_switch
(* TODO: the message switch doesn't handle raw HTTP very well *)
if (* !use_switch *) false
then json_switch_rpc !queue_name call
else xml_http_rpc
~srcstr:(get_user_agent ())
Expand Down

0 comments on commit 1615c12

Please sign in to comment.