Sha256: 28f72317743cd314dcb06023109006e7c5b31cb51b8a3dd6c0e95f076c87c956
Contents?: true
Size: 997 Bytes
Versions: 3
Compression:
Stored size: 997 Bytes
Contents
module Riddle class Configuration class Searchd < Riddle::Configuration::Section self.settings = [:listen, :address, :port, :log, :query_log, :read_timeout, :client_timeout, :max_children, :pid_file, :max_matches, :seamless_rotate, :preopen_indexes, :unlink_old, :attr_flush_period, :ondisk_dict_default, :max_packet_size, :mva_updates_pool, :crash_log_path, :max_filters, :max_filter_values, :listen_backlog, :read_buffer, :read_unhinted, :max_batch_queries, :subtree_docs_cache, :subtree_hits_cache, :workers, :dist_threads, :binlog_path, :binlog_flush, :binlog_max_log_size, :client_key] attr_accessor *self.settings def render raise ConfigurationError unless valid? ( ["searchd", "{"] + settings_body + ["}", ""] ).join("\n") end def valid? !( @port.nil? || @pid_file.nil? ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
riddle-1.3.2 | lib/riddle/configuration/searchd.rb |
riddle-1.3.1 | lib/riddle/configuration/searchd.rb |
riddle-1.3.0 | lib/riddle/configuration/searchd.rb |