Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the make request function waiting for async actions? #1

Open
CristianHatz opened this issue Aug 19, 2022 · 0 comments
Open

Is the make request function waiting for async actions? #1

CristianHatz opened this issue Aug 19, 2022 · 0 comments

Comments

@CristianHatz
Copy link

CristianHatz commented Aug 19, 2022

Hello,
I have a little issue with your library. What I am trying to do is get properties based on L_ListingID. I have an array of L_ListingIds that is huge. If I make a class GET i got 414 from RETS which means the request's url is too long. No prob, I've made chunks of 30 ids and try to make more requests with max 30 L_ListingIds. Did that and I received TOO MANY ACTIVE REQUESTS error. What I tried next is to make 30ids requests one by one and await after each one. There is the problem. Even the function listingResources.query looks like it's async, I think you forgot to await somewhere. Because await before the listingResource.query has no efect. It doesn't wait. And got TOO MANY ACTIVE REQUESTS error again.

Thank you! and have a good day :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant