Forum Multiplayer Crash server

Discussion and help relating to the PlayerIO Multiplayer API.

Crash server

Postby som911 » December 26th, 2017, 12:51 pm

When i use this code on client - local server crash.
Code: Select all
for (var i:int = 0; i < 100; i++)
{
   client.multiplayer.createJoinRoom(String(i), "MyGame", true, {}, {}, handleJoin, handleError); // create many rooms
}

Online server crashes too ?
som911
 
Posts: 1
Joined: March 8th, 2013, 3:32 am

Re: Crash server

Postby Henrik » January 1st, 2018, 8:43 pm

Hm, the local dev server shouldn't outright crash, but there are limits on the number of rooms you can run on a dev server, so yes, that code shouldn't work locally.

It works perfectly fine in production.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to Multiplayer



cron