Sha256: 6b4e3d617f325abb3be92dcc7c98c51f198a5e3a95bc0874607b92c009174c3b

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

module CodeZauker
  # 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
  DEFAULT_EXCLUDED_EXTENSION=[
                              # Documents                             
                              ".xps",
                              ".zip",".7z",
                              # MS Office zip-like files...
                              ".pptx",".docx",".xlsx",
                              ".ppt",".xls",".rtf",".vsd", ".odf",
                              # Binary bad stuff
                              ".dll",".exe",".out",".elf",".lib",".so",
                              # Redis db
                              ".rdb",
                              # Ruby and java stuff-like
                              ".gem",
                              ".jar",".class",".ear",".war",
                              ".mar",
                              ".tar",
                              ".gz",".Z",
                              ".dropbox",
                              ".svn-base",".pdb",".cache",                             
                              # Music exclusion
                              ".mp3",".mp4",".wav",
                              # Image exclusion
                              ".png",".gif",".jpg",".bmp",
                              # Temp stuff
                              ".tmp","~",
                              # Oracle exports...
                              ".exp"
                              ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code_zauker-0.0.6 lib/code_zauker/constants.rb