Well I did it and the CPU is running at 0.2% On Tue, Dec 16, 2014 at 11:22 PM, Sam Roberts <[email protected]> wrote: > > On Wed, Dec 10, 2014 at 8:15 PM, Ω Alisson <[email protected]> wrote: > > Interesting Sam, but what if I set a flag that is checked every > > process.nextTick > > You will eat 100% CPU, rather than waiting on event from the master > saying that its time to go away, and being able to do the cleanup you > want: > > > suspends redis updates, so what's left is finishing > > iterating over in-memory items? > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CACmrRmRosp%3D-VxMckCMvhKNiOWDBWiyUJ%3DrRzCZjwcDijmyTpw%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. >
-- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CACZE8Y5254V0S6cgPkP31%2BF_bmmH%2BRsca1ksNhAGyduhM54MQg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
