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

Slow response from HighRise API #13

Open
AlexHamilton opened this issue Feb 2, 2011 · 8 comments
Open

Slow response from HighRise API #13

AlexHamilton opened this issue Feb 2, 2011 · 8 comments

Comments

@AlexHamilton
Copy link

Hi, I'm using your plugin to try to find all people with a particular last name:

@people = Highrise::Person.find_by_last_name(params[:last_name])

The search works, but takes about 5 minutes to respond. Our HighRise
account has about 5,000 contacts.

When I raised this issue with 37 signals, they suggested the problem was with the plugin, not the API. I find this unlikely as a test on a smaller HighRise account using the same plugin produced near instant responses. Do you have any idea what the issue could be?

Thanks

@tapajos
Copy link
Owner

tapajos commented Feb 3, 2011

Alex,

How many records do you have with this particular last name? I'm not sure about the problem but maybe is parsing the response.

Thanks

@AlexHamilton
Copy link
Author

It's about 3 or 4 records.

Thanks

@AlexHamilton
Copy link
Author

It appears that I inadvertently closed this, which I didn't mean to do. Let me know if you would like me to open a new issue. Thanks

@odorcicd
Copy link
Contributor

odorcicd commented Feb 3, 2011

This is definitely the way these helpers are implemented. Since the Highrise API only limits the amount of records it returns to a small number (25 I think?), it has to make one request for every 25 records. The highrise API also only supports search for city, zip, state, country, phone and email. So all other fields are searched for the 'long' way which you're encountering.

@tapajos
Copy link
Owner

tapajos commented Feb 3, 2011

Alex,

I will work on it during the next weekend.

@AlexHamilton
Copy link
Author

Thanks. I'm OK doing a lookup by email rather than last name, if that is the only way to do it responsively with the Highrise API.

@AlexHamilton AlexHamilton reopened this Apr 21, 2011
@AlexHamilton
Copy link
Author

Hi, wanted to checkin to see if you managed to make any progress with this. Thanks

@tapajos
Copy link
Owner

tapajos commented Aug 20, 2011

@AlexHamilton Not yet. Sorry.

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

3 participants