Skip to content

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

@CristianHatz

Description

@CristianHatz

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions