LP1912834 OpenSRF JS Max Parallel Requests Logging user/berick/lp1912834-max-parallel-net-logging
authorBill Erickson <berickxx@gmail.com>
Fri, 22 Jan 2021 20:53:40 +0000 (15:53 -0500)
committerBill Erickson <berickxx@gmail.com>
Wed, 27 Jan 2021 15:26:04 +0000 (10:26 -0500)
commit0c4d278dea7d9e7c51dd7e2f4551b631cecb5ff3
tree6a0341eddd613f83813490934fddd8756511e4b0
parentb459fffcfc5c15835c6565f926bcecbdf54d8fa7
LP1912834 OpenSRF JS Max Parallel Requests Logging

Log a console error message when the web client code sends more than
OSRF_MAX_PARALLEL_REQUESTS (currently 10) in parallel.  When the max
number of requests limit is reached and new requests continue to be
sent, an error message is logged to notify the developer to consider
refactoring the client code to use batched calls / API's.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
src/javascript/opensrf.js