On Tue, Aug 13, 2013 at 4:30 PM, Criton <[email protected]> wrote:
> Hi all.
> I am running nodejs 0.10.15 on an ubuntu 12.04 machine.
> I wrote a simple js module, for clock behaviour testing:
>
> setInterval(function () {
> console.log("Now: " + Date.now());
> }, 2000);
>
> On console I see every 2 seconds (more or less) appearing something like
> 'Now: 137840305890' (obviously number changes with time).
> If I move Date/time settings back for, say, one hour on PC control panel,
> that application apparently hangs (also after rekeeping correct date/time).
>
> Has anyone noticed same behaviour? Is it possible to obtain an independent
> from wall clock regular schedule?

The behavior that you're seeing was addressed in v0.11.3[1].

Sorry, no back-port to v0.10.  While it's arguably a bug fix, it's
also a change (however minor) in behavior.

[1] https://github.com/joyent/node/commit/f8193ab

-- 
-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to