You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although a list of Requests is passed to the map function, the actual HTTP requests are made in arbitrary order.
This is not unexpected, of course, but it would still be nice to have the list's order followed, somehow.
Running gevent.sleep(0) after each spawn (i.e. in the send function) seems to maintain order with no apparent side effects; perhaps you might like to consider adding it?
The text was updated successfully, but these errors were encountered:
Ah yes, but I was referring to the order in which actual requests to the server are made.
Specifically, I'm trying to pull a bunch of files off a server; with grequests, the actual GETs go through in random order, whereas with e.g. a browser they get retrieved in a fixed order.
It's not a big deal really, but the discrepancy just keeps catching my eye ;)
Although a list of Requests is passed to the
map
function, the actual HTTP requests are made in arbitrary order.This is not unexpected, of course, but it would still be nice to have the list's order followed, somehow.
Running
gevent.sleep(0)
after each spawn (i.e. in thesend
function) seems to maintain order with no apparent side effects; perhaps you might like to consider adding it?The text was updated successfully, but these errors were encountered: