Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When to fetch <variant, chain, realization> triplet #3

Open
JannisBush opened this issue Jan 5, 2019 · 2 comments
Open

When to fetch <variant, chain, realization> triplet #3

JannisBush opened this issue Jan 5, 2019 · 2 comments

Comments

@JannisBush
Copy link
Contributor

Currently, we fetch this information in the init view at the beginning of the experiment.
If somebody takes a long time reading the instructions or does not even presses the next button, another participant might has to wait a long time, because they are already matched by their triplets.

Only fetch this information, when a participant is ready for the experiment and presses the to the lobby button.

@JannisBush
Copy link
Contributor Author

An easy solution is to just change the position of the init view and to put it between the instructions and the lobby.
This could be a problem, if the user can't connect to the server and starts the experiment by reading the experiment (on crowd working platforms).

A more elegant solution could be to first only connect to the participantChannel to see if there are any slots left in general, but only fetch the information and assign the user a triplet, if the client sends a ready - message to the participantChannel after the user clicks on the to the lobby-button.

@x-ji
Copy link
Member

x-ji commented Jan 5, 2019

I think this might also be helped by the timeout implementation we discussed before. i.e. if the participant didn't move for 10 minutes, the connection will be dropped and they will be prompted to try again. Might also be a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants