Sha256: 9fa4b26ded1b1f5fa5e90f7a05a8f669d75edb5d8454bb030f1ed66ed58a7d13

Contents?: true

Size: 1.89 KB

Versions: 1

Compression:

Stored size: 1.89 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","rar",
                              # MS Office zip-like files...
                              ".pptx",".docx",".xlsx",
                              # Avoid slurping text document too...
                              ".doc",
                              ".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", 
                              #IDE STUFF
                              ".wlwLock",
                              # 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.7 lib/code_zauker/constants.rb