Closed adampasz closed 9 years ago
Thanks for the report. I've been meaning to come back to this, but things pile up.
0% CPU. Verified on Mac OS and Galielo Gen. 2 w/ IOT build. Thanks for the quick fix!
@adampasz excellent, thanks for filing this :)
setImmediate requires node >= 0.10, should bump package.json requirment ;)
@m0x72 sure thing, but I'm curious to know where you were running this with 0.8?
@rwaldron haha, a hackathon where some folks from Intel brought a couple dozen galileos to work with. All were running node on 0.8 and their preparred example depended on your package. Ended up using a 0.3 version of yours or replacing the immediates with timeouts (which worked sufficiently well for us) :)
Damn, I'm sorry. It's too bad that some teams at Intel are still pushing that linux image, while others have deemed it effectively retired. I will fix the lib accordingly. Sorry for the pains
Everybody help me!
I had a problem when I was installing galileo-io package. Can you help me the problem?
Thanks all in advance.
SUMMARY
Simply requiring the galileo-io library consumes 90-100% CPU.
STEPS TO REPRODUCE
top
to monitor CPU usage, and observe that the CPU for your node process is around 90%.Note: We are also able to max out the CPU on a Mac running the code above.