09.08.2013, 14:51
Quote:
|
On my server r31 is using 6 threads. r26 is using 8 threads.
r31 is way slower than r26. after I restart my server and 200-300 players are connecting to the server at the same time, the server starts lagging for 2-3 minutes when using r31. with r26 there is no lagging. |
Quote:
|
Also, this code crashes the server on linux, r26:
Код:
callback|
new row, rows, fields;
if(cache_mailbox[playerid])
{
cache_set_active(cache_mailbox[playerid]);
cache_get_data(rows, fields);
}
else
{
cache_get_data(rows, fields);
cache_mailbox[playerid] = cache_save();
}
if(!rows)
{
SendClientMessage(playerid, COLOR_WHITE, "No emails!");
cache_delete(cache_mailbox[playerid]);
cache_mailbox[playerid] = 0;
return 1;
}
on windows using r26 there are no crashes. Here are some logs: Код:
[...] |
Quote:
|
Originally Posted by R28 changelog
- fixed bug where saving and deleting the active result in the same callback
would crash the server |

