Re: [nodejs] Feature request: be able to delete a non-empty directory with fs.rmdir

2012-07-24 Thread Dashku
Thanks for that.

On Tuesday, July 24, 2012 11:54:48 PM UTC+1, jesusabdullah wrote:

 I got your rm -rf right here: 

 npm install rimraf 

 DUN done. 

 --Josh 

 On Tue, Jul 24, 2012 at 3:53 PM, Dashku ad...@dashku.com wrote: 
  I'm running into a case where I want to remove a non-empty directory, 
 and I 
  can't because it contains some files and directories. 
  
  I would like to suggest being able to pass a force option to the 
 fs.rmdir 
  command, for example: 
  
  fs.rmdir(features,{force:true},function(err){ 
  
// do something here 
  
  }); 
  
  
  Is that a sane request, or can this already be achieved with another API 
  call in Node.js? 
  
  Regards, 
  
  Paul 
  
  -- 
  Job Board: http://jobs.nodejs.org/ 
  Posting guidelines: 
  https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines 
  You received this message because you are subscribed to the Google 
  Groups nodejs group. 
  To post to this group, send email to nodejs@googlegroups.com 
  To unsubscribe from this group, send email to 
  nodejs+unsubscr...@googlegroups.com 
  For more options, visit this group at 
  http://groups.google.com/group/nodejs?hl=en?hl=en 



 -- 
 Joshua Holbrook 
 Head of Support 
 Nodejitsu Inc. 
 j...@nodejitsu.com 


-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups nodejs group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en


[nodejs] Re: Sticky sessions using the new cluster API?

2012-06-22 Thread Dashku
Hi,

I'm trying to work on this problem. I have an npm that extends 
node-http-proxy to provide round-robin and sticky-sessions support, I built 
an option to use Redis as the persistent memory store so that you could use 
cluster, but there's a bug somewhere so I might need help fixing that. The 
default in-process memory option works fine.

https://github.com/paulbjensen/satellite

Regards,

Paul Jensen

On Tuesday, June 19, 2012 5:34:42 AM UTC+1, dhruvbird wrote:

 Is it possible to have sticky sessions using the new cluster API? Some 
 custom logic such as a cookie based solution? Something similar to nginx 
 sticky module?


-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups nodejs group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en