adjust ratelimit timings

This commit is contained in:
HF 2023-01-15 04:09:04 +01:00
parent eb7f8b90f3
commit a7c493913f

View File

@ -595,6 +595,7 @@ class SocketServer {
case REG_CHUNK_OP: {
const chunkid = hydrateRegChunk(buffer);
this.pushChunk(chunkid, ws);
limiter[0] -= 150;
break;
}
case REG_MCHUNKS_OP: {
@ -607,6 +608,7 @@ class SocketServer {
case DEREG_CHUNK_OP: {
const chunkid = hydrateDeRegChunk(buffer);
this.deleteChunk(chunkid, ws);
limiter[0] -= 190;
break;
}
case DEREG_MCHUNKS_OP: {