You’d like need to do this via front end web server proxy. For example if you had Apache in front of seafile server, you could use mod_ratelimit (there are other Apache modules that do similar things as well). Other web servers/proxies most likely have similar features (nginx has limit_rate and other settings).