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

Trigger update for multiplexing when loading site #2023

Open
rugk opened this issue Oct 31, 2017 · 8 comments
Open

Trigger update for multiplexing when loading site #2023

rugk opened this issue Oct 31, 2017 · 8 comments

Comments

@rugk
Copy link

rugk commented Oct 31, 2017

STR:

  1. Open the multiplexing master.
  2. Go to some slide (say 2.1)
  3. Open the client.

What happens: The client is still on slide 1. Only when the master changes the slide, the client changes it's slide, too.

What should happen: On the initial load the client should "lookup" the current slide of the master and switch to it.

@dyanakiev
Copy link

Hm i want to do the same, any ideas? I think of few.

@dyanakiev
Copy link

I found great way to do it when master changes the state save it in socket storage, then retrieve it from the client with the last one. Its working for me :)

@rugk
Copy link
Author

rugk commented Feb 27, 2019

@dyanakiev Any example code or so? Or even a PR?

@dyanakiev
Copy link

@rugk i did a little modifications and when someone new comes, the master watch for new subscribers and sent them the current slide.

@rugk
Copy link
Author

rugk commented Mar 5, 2019

So why can't you send a PR here to this project to contribute that change back?

@boschkundendienst
Copy link

@dyanakiev Please post your code as PR or at least here.

@snegana58
Copy link

https://github.com/caddyserver/caddy#full-documentation

@dyanakiev
Copy link

So why can't you send a PR here to this project to contribute that change back?
@dyanakiev Please post your code as PR or at least here.

Hey sorry, i didn't monitor the issue and i forgot to send PR, i no longer have the code.

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

No branches or pull requests

5 participants