raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / 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|threaded] 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|threaded] 2+ messages in thread

end of thread, back to index

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

raindrops RubyGem user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror https://bogomips.org/raindrops-public
	git clone --mirror http://ou63pmih66umazou.onion/raindrops-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.raindrops

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox