Sha256: fc3e641aa0612d34449e10c2e441ffdceef0fea2ed4064b61b699ba292b6dce2

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

Shatter.config do |config|
  config.root = File.expand_path("..", __dir__)
  config.zookeeper_host = "localhost:2181"
  config.initial_delay = 100
  config.missing_result_delay = 100
  config.service_port = ENV.fetch("SHATTER_SERVICE_PORT", 8787)
  config.autoload_paths = %w[app app/functions]
end

Shatter.load

Shatter::Service::Base.service_definition = ServiceDefinition
Shatter::Web::Server.application = Application

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shatter-rb-0.1.1 example_app/config/environment.rb
shatter-rb-0.1.0 example_app/config/environment.rb