Giter Site home page Giter Site logo

Comments (3)

Luidog avatar Luidog commented on May 20, 2024

Thank you for raising this issue and contributing a test @spearmootz. I added the test you created to the sessions file on my current working branch.

Once you configure a .env file in the tests directory you can call npm run test-session to call the test you contributed as part of the session test suite.

The test confirms the client will become unresponsive when a large number of requests are made before a session is available. This behavior is only exhibited when there are no sessions available before request processing.

I found that more than 9 requests for a client with concurrency set to 25, and more than 18 requests for a client with concurrency set to 35 caused the behavior.

I am inclined to add an iterator to the agent watcher process to monitor for this behavior and force the agent to resolve a session to prevent the request queue from stopping.

A PR to fix this behavior would be welcome.

from fms-api-client.

spearmootz avatar spearmootz commented on May 20, 2024

from fms-api-client.

spearmootz avatar spearmootz commented on May 20, 2024

here is what i have gathered so far. I am seeing a request successfully go through all the paces.

then i see a second request go through, make the call to fm successfully. but then it gets here

return typeof pending.resolve === 'function'
          ? pending.resolve(request)
          : request

pending.resolve is a function as expected but then i dont see it being handled in the interceptor like the other one is.

i think it has to do with the interceptor logic. still working on it

from fms-api-client.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.