Skip to content

Instantly share code, notes, and snippets.

@smostovoy
Last active December 12, 2015 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smostovoy/4756809 to your computer and use it in GitHub Desktop.
Save smostovoy/4756809 to your computer and use it in GitHub Desktop.
tracing issue with Goliath
require 'goliath'
require "rbtrace"
require 'em-synchrony'
require 'redis'
class HelloWorld < Goliath::API
def response(env)
Redis.new(driver: :synchrony, host: "127.0.0.1", port: 6379).ping
[200, {}, 'ok']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment