#rateLimits

1 messages · Page 1 of 1 (latest)

old shell
#

Hey , I have set the rate limits to limit the no. of uploads of user but it seems unbothered- 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

old shell
#

Hey done that as mentioned in the doc but rateLimits not working

zinc dune
#

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

old shell
#

Will try

old shell
#

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

zinc dune