Adding quotas based upon type

This commit is contained in:
Frederick F. Kautz IV
2015-04-25 18:01:52 -07:00
parent 5a2fb9741a
commit 3a48f9fe4d
2 changed files with 37 additions and 26 deletions
+1 -1
View File
@@ -92,5 +92,5 @@ func HTTPHandler(domain string, driver drivers.Driver) http.Handler {
h := validateHandler(conf, ignoreResourcesHandler(mux))
// quota handler is always last
return quota.Handler(h, int64(100*1024*1024))
return quota.BandwidthCap(h, int64(100*1024*1024))
}