Commit 4c0a96b4336e798512a08fd3ca5ed2f1d93b8e36

Authored by Andrew Kane
1 parent 49a39f34

Added docs for a lower search timeout

Showing 1 changed file with 7 additions and 1 deletions   Show diff stats
README.md
... ... @@ -1141,7 +1141,13 @@ Product.reindex
1141 1141 Change timeout
1142 1142  
1143 1143 ```ruby
1144   -Searchkick.timeout = 5 # defaults to 10
  1144 +Searchkick.timeout = 15 # defaults to 10
  1145 +```
  1146 +
  1147 +Set a lower timeout for searches [master]
  1148 +
  1149 +```ruby
  1150 +Searchkick.search_timeout = 3
1145 1151 ```
1146 1152  
1147 1153 Change the search method name in `config/initializers/searchkick.rb`
... ...