Skip to content

Commit

Permalink
Do scatter for random plan
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent dbd1db3 commit 190a668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/planner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def plan(message, params={})
}
end

if options[:record]
if options[:record] or random?
scatter(message, options)
else
broadcast(message, options)
Expand Down

0 comments on commit 190a668

Please sign in to comment.