From: Josh Morrow <jcmorrow@thoughtbot.com>
To: unicorn-public@bogomips.org
Subject: SIGWINCH with Forego/Heroku Local
Date: Thu, 8 Dec 2016 09:01:43 -0800 [thread overview]
Message-ID: <CAHdu2E5BX_fzNqrHxekOcfUYr4bLRWP90nC92eSRu_3HPToV8Q@mail.gmail.com> (raw)
Hello!
I've recently been using unicorn in my rails development environment,
and it's been almost entirely great so far. I do have one question
about how to address an issue: `WINCH` signals coming from my
terminal. I run with the `heroku local` command, which runs
https://github.com/ddollar/forego under the hood. Forego does not
identify STDIN as a tty (because it's not really). This means that
whenever I resize my terminal Unicorn attempts to stop all workers as
per https://github.com/defunkt/unicorn/blob/3dbbda30f02a40025abdee395fb0803985046db6/lib/unicorn/http_server.rb#L297-L305.
What is the correct way to fix this issue? Should something in Unicorn
change? (perhaps we use some other criteria than stdin?)
Thanks!
next reply other threads:[~2016-12-08 17:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 17:01 Josh Morrow [this message]
2016-12-08 18:40 ` SIGWINCH with Forego/Heroku Local Eric Wong
[not found] ` <CAHdu2E6=qv1gmLGbZfrivhX5vVYgMq7cwOpCZ9yvFGTR17Prfw@mail.gmail.com>
2016-12-09 1:55 ` Eric Wong
2016-12-09 17:01 ` Josh Morrow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHdu2E5BX_fzNqrHxekOcfUYr4bLRWP90nC92eSRu_3HPToV8Q@mail.gmail.com \
--to=jcmorrow@thoughtbot.com \
--cc=unicorn-public@bogomips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).