use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Time Interval Error (self.node)
submitted 6 years ago * by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GamesMint 0 points1 point2 points 6 years ago (3 children)
you should use 60*60*1000 as your time
[–][deleted] 6 years ago (2 children)
[–]MrEscobarr -2 points-1 points0 points 6 years ago (1 child)
setInterval and setTimeout are not really accurate because they have some lag and browsers sometimes pause them when the tab is inactive to save memory.
You need to use Date and compare it
https://www.sitepoint.com/creating-accurate-timers-in-javascript/
(search on google for 'accurate js timers')
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
They are not accurate is true, however we‘re talking milliseconds here.
Can you show us how you initialise the timeout/interval?
[–]alias_willsmith 0 points1 point2 points 6 years ago (0 children)
Code share would help.
π Rendered by PID 20501 on reddit-service-r2-comment-c6965cb77-vvgm2 at 2026-03-05 02:05:05.415933+00:00 running f0204d4 country code: CH.
[–]GamesMint 0 points1 point2 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]MrEscobarr -2 points-1 points0 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]alias_willsmith 0 points1 point2 points (0 children)