Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Library drops events that are emitted close in time to one another #1
Comments
|
Just realized that what I said doesn't make sense, since the |
|
@meltzerj Were the events dropped on Friday or Saturday? We had a fire on those days, and events from those days are being recovered and indexed right now. |
|
It was last night, so Sunday night. I noticed if I take out the setTimeout in the |
|
Ah, I see. The default implementation is with setTimeout, so the tracking will not block your program function stack. If you do navigate away from the page before your program's function stack is complete, the queued setTimeout's will never be reached. For example, if this was bound on a click event where window.location was switched. The function would never execute then. Perhaps the blocking/nonblocking should be a configurable option. I'll keep this in mind for the next iteration. For now, if it's ok for the tracker to be a blocking call, do take out the setTimeout as you already did. |
|
That would make sense. Although I think some set timeouts were not firing, even when I wasn't navigating away from pages. But I'm really not sure how that's even possible... maybe I was just seeing things. |
update api url for latest chopper build
also try telnet to check if host is up
Because the
pushfunction has a setTimeout, if a bunch of messages are queued, thedatavariable will get overridden.Even if you wrap the setTimeout inside of a self invoking function and locally scope the
datavariable, I'm still getting some messages dropped. Could this be that we need to wait for the image's request to receive a response before sending the next message?The text was updated successfully, but these errors were encountered: