Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `iso8601' for 2016-03-01 18:51:48 UTC:Time #914

Closed
osheroff opened this issue Mar 1, 2016 · 0 comments
Closed

undefined method `iso8601' for 2016-03-01 18:51:48 UTC:Time #914

osheroff opened this issue Mar 1, 2016 · 0 comments

Comments

@osheroff
Copy link
Contributor

osheroff commented Mar 1, 2016

getting this while running pumactl stats

/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/cluster.rb:309:in `block in stats'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/cluster.rb:309:in `map'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/cluster.rb:309:in `stats'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/launcher.rb:100:in `stats'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/app/status.rb:59:in `call'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/server.rb:561:in `handle_request'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/server.rb:406:in `process_client'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/server.rb:271:in `block in run'
/data/zendesk_occam/current/vendor/bundle/ruby/2.3.0/gems/puma-3.0.2/lib/puma/thread_pool.rb:111:in `block in spawn_thread'

errors disappear if I do require 'time' within config/puma.rb, which looks like:

port = ENV["OCCAM_PORT"] || 3210
workers = ENV["OCCAM_WORKERS"] || 20
quiet
threads 1,10
workers workers
queue_requests false
activate_control_app 'unix:///tmp/occam_puma_ctl.socket', { no_token: true, umask: 0077 }

prune_bundler

on_worker_boot do
  require 'bundler/setup'
end

bind "tcp://0.0.0.0:4080?backlog=1024"
directory "/data/zendesk_occam/current"
@evanphx evanphx closed this as completed in e344c76 Mar 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant