Sha256: bf9f5641221a7785b5eb30576462057150b653db6eef5c3df65044ea91882cf7
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
#!/usr/bin/env ruby host = ENV['HOST'] || '127.0.0.1' port = (ENV['PORT'] || 3000).to_i file_descriptors = (ENV['FD_SIZE'] || 202400).to_i require 'jugglite' new_size = EM.set_descriptor_table_size( file_descriptors ) STDERR.puts "New descriptor-table size is #{new_size}" EM.epoll EM.kqueue STDERR.puts "Starting server at #{host}:#{port}" Thin::Server.start(host, port, Jugglite::App.new)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jugglite-0.0.1.alpha | bin/jugglite |