Sha256: 79fefc2bcaa67fe3711c54c2a829acef9e80ae84e139470cd5d119cea2503543

Contents?: true

Size: 145 Bytes

Versions: 12

Compression:

Stored size: 145 Bytes

Contents

module Plugin
	module MemoryLimit
		def memory_limit
			env["app.memory_limit"] or fail 'Rack::MemoryLimit middleware not used!'
		end
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
unicorn-cuba-base-1.6.0 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.5.0 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.4.1 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.4.0 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.3.0 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.2.2 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.2.1 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.2.0 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.1.2 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.1.1 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.1.0 lib/unicorn-cuba-base/plugin/memory_limit.rb
unicorn-cuba-base-1.0.0 lib/unicorn-cuba-base/plugin/memory_limit.rb