#rateLimits
1 messages · Page 1 of 1 (latest)
Hey done that as mentioned in the doc but rateLimits not working
I'll look into it. it's possible that the way I'm using environment variables isn't getting saved in your environment
you can override the librechat.yaml config temporarily. just remove this from your config
rateLimits:
fileUploads:
ipMax: 2
ipWindowInMinutes: 5
userMax: 2
userWindowInMinutes: 5, can some one help in this? how to limit the file uploads from a user
and add these .env file variables
FILE_UPLOAD_IP_MAX
FILE_UPLOAD_IP_WINDOW
FILE_UPLOAD_USER_MAX
FILE_UPLOAD_USER_WINDOW
with the appropriate values of course
Will try
Hey so i set the - FILE_UPLOAD_USER_MAX=2 ony in the env but no change after 2 files it says too many upload request and that it again I can upload more than 2
my main aim is to reduce the number of files being uploaded by the user from the attach file sections-the user should be complled to upload like a minimum of 5 files to work with then delete the unused files. An attempt to optimise storage
what you're asking for isn't supported yet: https://github.com/danny-avila/LibreChat/issues/2365