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

IQApplication connect times out 75% of the time #9

Open
QueenBee61 opened this issue Jul 21, 2018 · 3 comments
Open

IQApplication connect times out 75% of the time #9

QueenBee61 opened this issue Jul 21, 2018 · 3 comments

Comments

@QueenBee61
Copy link

This is a real issue for us and our client. I have the following code:

      IQClient client = QuickBase.Login(userName, password, "mydatabase.quickbase.com");
            IQApplication app = client.Connect("bnuy96t9h", "d9rdib9g2ju4fbqg68hccuxraw6");

when it reaches "(IQApplication app = client.Connect)" it times out 75% of the time, and if it doesn't time out, it takes about 5-8 minutes to get past. I do not know what to do about it. And either us , Quickbase, or both are going to lose a client over it.

@jherig
Copy link

jherig commented Jul 21, 2018

Question: do you have a lot of tables in your app, and/or a huge number of fields per table? There is a very large overhead cost in creating the IQApplication object. One of the issues on my plate is to make this 'lazy loading' which would help if that's the problem. I can try to prioritize that, if this seems to describe your issue.

@QueenBee61
Copy link
Author

QueenBee61 commented Jul 21, 2018

Yep, that app has a lot of tables, and I don't know about all of the tables, but the one I am accessing has 89 fields. Is there another way to get the records without creating that object? I am trying to get all records from this one particular table, and am trying to add records to that same table. The other tables do not concern me at all.

@jherig
Copy link

jherig commented Jul 22, 2018

No, there is currently no way to manipulate a table without creating the IQApplication itself. Let me see how much work it would be to lazy load the tables and put that into app.GetTable instead.

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

2 participants