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.

Blocking/looping script

See original GitHub issue

Issue and Steps to Reproduce

Every now and then, I run into a situation where the script blocks, and continuously loops.

Within seconds, I can see UserManager.getUser called thousand times:

image

Versions

3.1.7

Screenshots

See above

Expected

Should neither loop nor block.

Actual

Blocks/loops.

Additional Details

  • Installed packages:

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
guillaume-chervetcommented, Feb 24, 2022
1reaction
guillaume-chervetcommented, Apr 2, 2022

I close the issue. Thank you for the issue. Feel free to reopen it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Looping (PilotScript)
Each set of additional statements is known as a block. Loops employ blocks to tell PilotScript what to do if a certain condition...
Read more >
Node.js, lots of ways to block your event-loop (and ... - Medium
Of course, the easiest way to block your application is to insert an infinite loop. It seems obvious to detect and to avoid...
Read more >
Snap – Looping and Custom Blocks
With your neighbors, come up with a custom block example. – The block should perform one main task. – The main task should...
Read more >
Javascript - How to prevent blocking during nested For loops?
I have a set of nested For loops in my script (vanilla javascript, no jquery) that could go on for quite a while...
Read more >
bash: non blocking read inside a loop - Unix Stack Exchange
I have a following small bash script var=a while true : do echo $var sleep 0.5 read -n 1 -s var done. It...
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