Sha256: ca5f5ca4247fdfd5e58dfa73ec7e30ac8f5bc2cbf929c6f62437e685d73dd6e1
Contents?: true
Size: 561 Bytes
Versions: 33
Compression:
Stored size: 561 Bytes
Contents
# frozen_string_literal: true # Standard libraries require 'socket' require 'tempfile' require 'time' require 'etc' require 'uri' require 'stringio' require 'thread' module Puma autoload :Const, 'puma/const' autoload :Server, 'puma/server' autoload :Launcher, 'puma/launcher' def self.stats_object=(val) @get_stats = val end def self.stats @get_stats.stats end # Thread name is new in Ruby 2.3 def self.set_thread_name(name) return unless Thread.current.respond_to?(:name=) Thread.current.name = "puma #{name}" end end
Version data entries
33 entries across 33 versions & 3 rubygems