raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Socket & Symlinks
@ 2012-06-04 15:49 Brian Corrigan
  2012-06-04 18:12 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Corrigan @ 2012-06-04 15:49 UTC (permalink / raw)
  To: raindrops

Hi Folks -

After trying to figure out why I always get 0 for both active and
queued stats, I noticed the unix_listener_stats method doesn't resolve
symlinks (which are common due to the way a lot of deployment recipes
deploy rails apps) prior to looking up the socket in the proc file.

I was considering a small patch that would require the standard
pathname library and resolve each path prior to encoding them.  Would
this be accepted?

Best,
Brian


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Socket & Symlinks
  2012-06-04 15:49 Socket & Symlinks Brian Corrigan
@ 2012-06-04 18:12 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2012-06-04 18:12 UTC (permalink / raw)
  To: raindrops

Brian Corrigan <bcorrigan78@gmail.com> wrote:
> Hi Folks -
> 
> After trying to figure out why I always get 0 for both active and
> queued stats, I noticed the unix_listener_stats method doesn't resolve
> symlinks (which are common due to the way a lot of deployment recipes
> deploy rails apps) prior to looking up the socket in the proc file.
> 
> I was considering a small patch that would require the standard
> pathname library and resolve each path prior to encoding them.  Would
> this be accepted?

I'd have to see the patch, but the idea sounds good.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-04 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04 15:49 Socket & Symlinks Brian Corrigan
2012-06-04 18:12 ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/raindrops.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).