Navigation Menu

Skip to content

Commit

Permalink
Use Cool.io as the backend of internal clients
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent 7abfdb2 commit cddebbe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/droonga/plugins/system/absorb_data.rb
Expand Up @@ -97,6 +97,11 @@ def dumper_params
:receiver_host => myself.host,
:receiver_port => 0,

:client_options => {
:backend => :coolio,
:loop => @loop,
},

:messages_per_second => params["messagesPerSecond"] ||
DEFAULT_MESSAGES_PER_SECOND,
}
Expand Down Expand Up @@ -197,6 +202,9 @@ def source_client_options

:receiver_host => myself.host,
:receiver_port => 0,

:backend => :coolio,
:loop => @loop,
}
end

Expand Down

0 comments on commit cddebbe

Please sign in to comment.