Sha256: ba0993b5d5f88c789f656a3fd0e05090937ed0085c29719d8017e32c4f9b94d0
Contents?: true
Size: 291 Bytes
Versions: 9
Compression:
Stored size: 291 Bytes
Contents
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rack/throttle' gem 'memcache-client' require 'memcache' use Rack::Throttle::Interval, :min => 3.0, :cache => MemCache.new('localhost:11211') run lambda { |env| [200, {'Content-Type' => 'text/plain'}, "Hello, world!\n"] }
Version data entries
9 entries across 9 versions & 3 rubygems