Describe the bug
The batcher can produce a batch that's larger than the requested batch size. Reported by @bpickrel
To Reproduce
Steps to reproduce the behavior:
Set the batch size to 64
Load a worker (use the timeout parameter to enforce a long batch timeout period)
Send two requests with 62 images and 4 images
Observe the batch size
Expected behavior
It should result in two requests, instead of one request with 66 images
Additional context
There's another open question here about what the server should do if a user request has more images than the configured batch size.
Describe the bug The batcher can produce a batch that's larger than the requested batch size. Reported by @bpickrel
To Reproduce Steps to reproduce the behavior:
Expected behavior It should result in two requests, instead of one request with 66 images
Additional context There's another open question here about what the server should do if a user request has more images than the configured batch size.