lib/code_zauker/constants.rb in code_zauker-0.0.5 vs lib/code_zauker/constants.rb in code_zauker-0.0.6

- old
+ new

@@ -1,6 +1,8 @@ module CodeZauker - MAX_PUSH_TRIGRAM_RETRIES=3 + # Under Amazon AWS, a lot of timeout can happen. + # We put a higer retry here + MAX_PUSH_TRIGRAM_RETRIES=15 # Stats # It is difficult to decide what is the best trigram push size. # a larger one ensure a best in memory processing but can lead to longer transactions # 6000 Ehuristic value used for historical reasons TRIGRAM_DEFAULT_PUSH_SIZE=6000