Global and Domain Concurrency limit implemented. Updated README
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user