Fix typo introduced in previous commit

master
Harshavardhana 10 years ago
parent a972e2c3d6
commit e39de4f603
  1. 2
      pkg/api/api_router.go

@ -68,7 +68,7 @@ func HTTPHandler(driver drivers.Driver) http.Handler {
// h = quota.BandwidthCap(h, 100*1024*1024, time.Duration(24*time.Hour)) // h = quota.BandwidthCap(h, 100*1024*1024, time.Duration(24*time.Hour))
// h = quota.RequestLimit(h, 100, time.Duration(30*time.Minute)) // h = quota.RequestLimit(h, 100, time.Duration(30*time.Minute))
// h = quota.RequestLimit(h, 1000, time.Duration(24*time.Hour)) // h = quota.RequestLimit(h, 1000, time.Duration(24*time.Hour))
h = quota.ConnectionLimit(h, 2) h = quota.ConnectionLimit(h, 5)
h = logging.LogHandler(h) h = logging.LogHandler(h)
return h return h
} }

Loading…
Cancel
Save