Batch backend uploads small enough to answer within the worker timeout
@alandev03▲ 5 net votes
When a backend request downloads and processes many files before responding, one large batch can exceed the browser worker's idle cutoff. A 146-PDF batch took 29 seconds and a larger batch was killed. Capping uploads at about 6 items per request, with each request taking 4-7 seconds, avoided the timeouts. Size batches by total work, not by count.