Skip to content

Commit

Permalink
Add @early_hints to Puma:Server intialize to avoid warnings (#1430)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg authored and nateberkopec committed Oct 9, 2017
1 parent 1f8e92a commit b297e8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puma/server.rb
Expand Up @@ -62,6 +62,7 @@ def initialize(app, events=Events.stdio, options={})

@thread = nil
@thread_pool = nil
@early_hints = nil

@persistent_timeout = options.fetch(:persistent_timeout, PERSISTENT_TIMEOUT)
@first_data_timeout = options.fetch(:first_data_timeout, FIRST_DATA_TIMEOUT)
Expand Down

0 comments on commit b297e8d

Please sign in to comment.