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.

Delay between opening dashboard and opening experiment window in dallinger debug

See original GitHub issue

When I run dallinger debug, there is a 5-second delay between the dashboard window opening and the experiment window opening. @jessesnyder , I remember you did some work already optimising start-up times. Does this delay happen for you? I think we discussed it already but didn’t get round to addressing it yet.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
pmcharrisoncommented, Jan 16, 2021

Ah well, thanks for trying anyway!

0reactions
jessesnydercommented, Jan 15, 2021

This isn’t a quick change, unfortunately (I was very optimistic!). We open the dashboard just before we start listening for messages from the recruiter (it is such a message that triggers opening the ad/consent windows for the experiment). Once we start listening, we’re blocked, so trying to open the dashboard later means opening it only after the entire experiment is finished:

            if result["status"] == "success":
                # ...
                self.display_dashboard_access_details(dashboard_url)
                if not self.no_browsers:
                    self.open_dashboard(dashboard_url)
                # this blocks for the remainder of the debug session:
                heroku.monitor(listener=self.notify)

We could maybe figure out a way to change this, but it’s not the just-reorder-the-statements problem we were hoping for.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases · Dallinger/Dallinger - GitHub
new participant window; Enhancement: dallinger debug startup time reduced by 5 seconds by opening the dashboard browser window asyncronously ...
Read more >
Monitoring a Live Experiment - Dallinger - Read the Docs
The Dallinger experiment server provides a dashboard view for experiment administrators to monitor running experiments. The dasboard can be found at /dashboard ......
Read more >
Dallinger Documentation - Read the Docs
Dallinger is a tool to automate experiments that use combinations of automated bots and human subjects recruited on.
Read more >
Dallinger Documentation - PDF Free Download - DocPlayer.net
12 If you do not have Python 3 installed, you can install it from the Python ... When running under dallinger debug a...
Read more >
Untitled
Francesco moraglia facebook, Experimental bands 2014, Road rules 10, Edward norton ... Cut a glow stick open pour it in water, Pointed oval...
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