Multiple Ajax problem

I am trying to do an ajax page that is going to have multiple ajax
requests going on. The issue is that when the first request gets
initiated I have other requests going on for some DB updates and they
do not complete out until the main request gets completed. I am
running mongrel on a dev env.

On Aug 18, 6:30 am, Me [email protected] wrote:

I am trying to do an ajax page that is going to have multiple ajax
requests going on. The issue is that when the first request gets
initiated I have other requests going on for some DB updates and they
do not complete out until the main request gets completed. I am
running mongrel on a dev env.

That’s the way rails works (for now). It’s single threaded, so only
one request per mongrel.

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs