Git Product home page Git Product logo

Comments (5)

schneems avatar schneems commented on August 12, 2024

No, that warning can be safely ignored. I don't know of a better way to initialize this code.

-- 
Richard Schneeman
http://schneems.com

On May 4, 2016 at 4:19:21 PM, Diego Algorta ([email protected]) wrote:

Recently upgraded from Puma 2.15.3 to 3.4.0 and puma_worker_killer 0.0.4 to 0.0.6. I'm also using puma-heroku 1.0.0 plugin as the config I had was basically the same as that plugin's.

from puma_worker_killer.

oboxodo avatar oboxodo commented on August 12, 2024

Ok, thanks. Maybe @evanphx does, considering it's related to an upgrade to Puma 3?

from puma_worker_killer.

schneems avatar schneems commented on August 12, 2024

You're talking about this right?

2016-05-04T20:56:29.887162+00:00 app[web.1]: [3] ! WARNING: Detected 1 Thread(s) started in app boot:
2016-05-04T20:56:29.887296+00:00 app[web.1]: [3] ! #<Thread:0x007f40c3d331e0@/app/vendor/bundle/ruby/2.2.0/gems/puma_worker_killer-0.0.6/lib/puma_worker_killer/auto_reap.rb:12 sleep> - /app/vendor/bundle/ruby/2.2.0/gems/puma_worker_killer-0.0.6/lib/puma_worker_killer/auto_reap.rb:15:in `sleep'
2016-05-04T20:56:29.887677+00:00 app[web.1]: [3] Use Ctrl-C to stop

Puma has been warning about threads at start up for a number of versions. I don't know when they were introduced though.

from puma_worker_killer.

evanphx avatar evanphx commented on August 12, 2024

The warning is just that, a warning. If the code can deal with that thread not living into the workers, then it's fine. Puma doesn't know which are master threads and which are worker threads, so it just makes as much info available as possible.

from puma_worker_killer.

oboxodo avatar oboxodo commented on August 12, 2024

Ok then... I'll just ignore it. Thanks!

from puma_worker_killer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.