Sha256: 5b8ed3ec0f26d7d065877c80a4d79f7aa931223f16ac336a25755ac3b1a22641
Contents?: true
Size: 358 Bytes
Versions: 7
Compression:
Stored size: 358 Bytes
Contents
require 'elasticsearch' require 'json' require 'faraday' module Kishu module Base ES_HOST = ENV['ES_HOST'] ? ENV['ES_HOST'] : "localhost:9200" # __elasticsearch__ = Faraday.new(url: ES_HOST) __elasticsearch__ = Elasticsearch::Client.new host: ES_HOST, transport_options: { request: { timeout: 3600, open_timeout: 3600 } } end end
Version data entries
7 entries across 7 versions & 1 rubygems