If the API call responds very slowly for a while, this method would hog the borrowed Connection while waiting for the response. Finally, it uses that Connection to perform the remaining database calls.After the first database call, it calls the external API while keeping the borrowed Connection.
0 Comments
Leave a Reply. |