Closed mrgharabaghi closed 1 year ago
If you're using emitRpc every 1 second, server will freeze.
emitRpc
// Client side setInterval(async () => { const data = await alt.emitRpc('giveMeData'); }, 1000);
// Server side alt.onRpc('giveMeData', async () => { await alt.Utils.wait(500); return 123; });
Should not freeze.
Nothing.
Windows 10
dev/15.0-dev711
server
Fixed in server (dev/15.0-dev717) - on client it will be fixed once module is updated in core
dev/15.0-dev717
Description of the problem
If you're using
emitRpc
every 1 second, server will freeze.Reproduction steps
Expected behaviour
Should not freeze.
Additional context
Nothing.
Operating system
Windows 10
Version
dev/15.0-dev711
Scope
server
Reproduction tested