question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix non-linear incrementing of session index

See original GitHub issue
  • lasts for as long as sessionCookieTimeout
  • doesn’t respect heartbeatDelay (multiple page pings per second despite an heartbeat of 5s)
  • possible leads:
    • configHeartBeatTimer might somehow be null here which would cause the callback to happen relentlessly
    • multiple setInterval are set, that could be solved by clearInterval if we mean to have only one at any time

Session indices look like the following when ordered by dvce_created_tstamp:

image

which would suggest some kind of mad callback.

Tracker initialization looked like the following when the bug occurred:

window._tracker("newTracker", "js", "", {
    appId: "",
    platform: "web",
    post: !0,
    cookieLifetime: 31536e4,
    contexts: {
        webPage: !0,
        performanceTiming: !0
    }
}), 
window._tracker("enableLinkClickTracking", null, !0, !0), 
window._tracker("refreshLinkClickTracking"), 
window._tracker("enableActivityTracking", 5, 5), 
window._tracker("trackPageView"),

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
alexanderdeancommented, Apr 10, 2017

Hey @BenFradet - configHeartBeatTimer - why don’t we create a new ticket that puts a guard on the value of this, rather than just && configHeartBeatTimer? I tried a setInterval with “” as the interval and yes it just triggered relentlessly…

0reactions
paulboocockcommented, Feb 7, 2020

This has altered considerably since this issue was created, including the addition of guarding to prevent relentless callbacks. Likely no longer an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incrementing a variable in a non-linear - Stack Overflow
I would like to be able to increase / decrease a variable in a non-linear, for example based on ...
Read more >
Session 3: Rootfinding of nonlinear equations - Cartagena99
Stopping test based on the increment: the iterative process terminates as soon as |x(k+1) − x(k)| < ϵ. Pedro González Rodrıguez. Numerical ...
Read more >
Nonlinear Methods Most Applied to Heart-Rate Time Series
Voss's review in 2009 [8] summarizes some of the heart-rate variability (HRV) indices derived from nonlinear and fractal dynamics (fractal, entropy, ...
Read more >
MySQL HAVING Causes Extra Increment of Session Variable
The rows are getting ordered correctly using sessions variable which are set to 0 in a dummy FROM statement so as to not...
Read more >
Load Increments and Iterations - Product Documentation Center
Selecting fixed incrementation and specifying the number of increments divides the total load change applied during the subcase into NINC equal parts for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found