Idling out of long queues - What's the timeout?

Options
While I'm debugging, sometimes I realized I get disconnected from Photon mid-testing for long matchmaking queues.

I need to setup some polling anyway to get friends list. If I call for friends list like once/minute, would that keep me connected? What about in-game, is there something I need to do to stay alive every x amount of time?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited March 2017
    Options
    Hi @xblade724,

    If by debugging you mean breakpoints and all then you can avoid timeout disconnection by connecting to a self hosted Photon server as a development environment and following this guide.

    Otherwise, no need for you to explicitly keep client alive, this is done by Photon out of the box.
    If you target mobile platforms, you need to take this into consideration.
    If you also rely on MasterClient logic you need to take a look at this as well.