Global and Domain Concurrency limit implemented. Updated README

This commit is contained in:
Musab Gültekin
2019-06-09 11:53:40 +03:00
parent a9aaf86df3
commit d967555b62
4 changed files with 80 additions and 9 deletions

View File

@ -21,4 +21,10 @@ type Options struct {
// Memory Cache: httpcache.NewMemoryCache()
// Disk Cache: diskcache.New(".cache")
Cache httpcache.Cache
// Concurrent requests limit
ConcurrentRequests int
// Concurrent requests per domain limit
ConcurrentRequestsPerDomain int
}