Comment 2 for bug 1912834

Revision history for this message
Bill Erickson (berick) wrote :

Here's a commit which bakes the request limiting into opensrf.js

https://git.evergreen-ils.org/?p=working/OpenSRF.git;a=shortlog;h=refs/heads/user/berick/lp1912834-max-parallel-net

To test:

[1] Navigate to the record bucket interface in the browser client.
[2] Create a bucket
[3] Go to Record Query, set Row Count to 50, and search for e.g. piano
[4] Select and add all of the result records to the bucket (46 records in my test)
[5] Note a blast of API calls in the console and a warning message: "Net throttling activated on max requests".

Also note that even though 40+ open-ils.actor calls are made, the open-ils.actor service drone counts stay within a reasonable range (5 for me).

Prior to this patch, the steps above would max out my actor drones.