mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-27 13:56:25 +02:00
Limit number of running transformation threads
This commit is contained in:
parent
731fa16921
commit
bbd716c747
2 changed files with 15 additions and 0 deletions
|
|
@ -735,6 +735,7 @@ func TestTransformingTransport(t *testing.T) {
|
|||
tr := &TransformingTransport{
|
||||
Transport: &testTransport{},
|
||||
CachingClient: client,
|
||||
limiter: make(chan struct{}, 1),
|
||||
}
|
||||
client.Transport = tr
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue