Made inventories download in chunks to prevent blocking rcon

This commit is contained in:
Daniel committed 2021-07-12 22:05:54 +02:00
1 parent 6bb2c50e5c
commit c1d0404f23
4 files changed
+90 -62

No files matched your search

+7
View File
@@ -39,6 +39,13 @@ InstanceConfigGroup.define({
type: "boolean",
initial_value: true,
});
InstanceConfigGroup.define({
name: "rcon_chunk_size",
title: "Rcon inventory chunk size",
description: "Divide inventories into multiple chunks before sending with rcon to prevent blocking the pipe",
type: "number",
initial_value: 1000,
});
InstanceConfigGroup.finalize();
libUsers.definePermission({