Navigation Menu

Skip to content

Commit

Permalink
logical_range_filter: use more suitable default value
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 2, 2015
1 parent 210b7d3 commit 2c93dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sharding/logical_range_filter.rb
Expand Up @@ -101,7 +101,7 @@ def parse_order(input, name)

def compute_threshold
threshold_env = ENV["GRN_LOGICAL_RANGE_FILTER_THRESHOLD"]
default_threshold = 0.000058 # 15000 / 259200000.0
default_threshold = 0.2
(threshold_env || default_threshold).to_f
end
end
Expand Down

0 comments on commit 2c93dfe

Please sign in to comment.