Skip to content

Conversation

@STRML
Copy link

@STRML STRML commented May 28, 2013

I'm a big fan of this project and have used it a few times. I noticed a few users having issues running it in restricted environments so I spent some time considering a JS-only version. As it turns out, since the addition of Timers.unref() in 0.9.1, we can safely unref the interval timer which will no longer keep the server open.

In this pull request is a full conversion to a JS-only module as well as a few example fixes. All tests pass and the results are identical, with one small behavior change; the C module would start measuring lag after the first tick (from 500ms onward), while this module starts measuring lag on the first tick.

@lloyd
Copy link
Owner

lloyd commented May 31, 2013

this is deep. I like simple. I need more time to review it.

@Ognian
Copy link

Ognian commented Oct 2, 2013

Any news on this?
I had some problems with the native implementation on OSX so before digging into this it would be nice to know if a js only implementation works …
Thanks
Ognian

@STRML
Copy link
Author

STRML commented Oct 2, 2013

It works - feel free to use it.
On Oct 2, 2013 6:45 PM, "Ognian" notifications@github.com wrote:

Any news on this?
I had some problems with the native implementation on OSX so before
digging into this it would be nice to know if a js only implementation
works …
Thanks
Ognian


Reply to this email directly or view it on GitHubhttps://github.com//pull/17#issuecomment-25529552
.

@Ognian
Copy link

Ognian commented Oct 2, 2013

Thanks for the info, it would be nice if someone would update the version on npmjs so that install via npm gets possible…
Thanks
Ognian

@asilvas
Copy link

asilvas commented Oct 14, 2013

@lloyd Any intention of merging this? Code looks solid and would remove a lot of build issues. Being most of the overhead is in networking code, cannot imagine the difference between native and JS will make any measurable difference.

@Ognian
Copy link

Ognian commented Nov 30, 2013

OK it looks like @lloyd doesn't maintain this anymore...
@STRML can you add your version under a different name to npm so that we can start using this?

@STRML
Copy link
Author

STRML commented Nov 30, 2013

@Ognian I went ahead and published the module under the name toobusy-js.

@Ognian
Copy link

Ognian commented Nov 30, 2013

@STRML Thank you!

@pocesar
Copy link

pocesar commented Jan 26, 2014

@STRML can you enable issues in your repo since its a new version of toobusy?

@STRML
Copy link
Author

STRML commented Jan 27, 2014

@pocesar Just added them.

@pocesar
Copy link

pocesar commented Jan 27, 2014

👍

1 similar comment
@jacobh0
Copy link

jacobh0 commented Feb 22, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants