Class: FlyingSphinx::Commands::Base
- Inherits:
-
ThinkingSphinx::Commands::Base
- Object
- ThinkingSphinx::Commands::Base
- FlyingSphinx::Commands::Base
- Defined in:
- lib/flying_sphinx/commands/base.rb
Direct Known Subclasses
Clear, Configure, IndexSQL, Merge, Prepare, Rebuild, Reset, Restart, Rotate, Running, Start, StartAttached, Stop
Constant Summary collapse
- DEFAULT_TIMEOUT =
60
- INDEX_TIMEOUT =
3 hours
60 * 60 * 3
- ERROR_MESSAGES =
{ "BLOCKED" => <<-TXT, "UNCONFIGURED" => <<-TXT, "INVALID PATH" => <<-TXT INVALID PATH: Something has gone wrong with the uploading of your configuration. Please contact Flying Sphinx Support: http://support.flying-sphinx.com TXT }.freeze
Instance Method Summary collapse
Instance Method Details
#call_with_handling ⇒ Object
20 21 22 23 24 |
# File 'lib/flying_sphinx/commands/base.rb', line 20 def call_with_handling call rescue FlyingSphinx::Error => error handle_failure error end |