FEATURE: added the env variable MAX_PER_GROUP

This commit is contained in:
kharhamel 2021-04-14 15:36:25 +02:00
parent 71898bff7d
commit ce2c5e0cb5
7 changed files with 21 additions and 4 deletions

View file

@ -15,6 +15,7 @@ const ZOOM_LEVEL = 1/*3/4*/;
const POSITION_DELAY = 200; // Wait 200ms between sending position events
const MAX_EXTRAPOLATION_TIME = 100; // Extrapolate a maximum of 250ms if no new movement is sent by the player
export const MAX_USERNAME_LENGTH = parseInt(process.env.MAX_USERNAME_LENGTH || '') || 8;
export const MAX_PER_GROUP = parseInt(process.env.MAX_PER_GROUP || '4');
export {
DEBUG_MODE,