Login speed so slow on API

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
realtytrac
Posts: 34
Joined: Wed Jun 15, 2005 2:07 pm

Login speed so slow on API

Post by realtytrac » Tue Jul 12, 2005 2:30 pm

I am using the API. this line seems to go so slow:

_myClient.Login(Host, Username, Password);

It takes about 10 seconds to execute this line of code. Is that normal? Is there a way to speed this up?

thanks

haider

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Tue Jul 12, 2005 2:54 pm

Maybe. Vault does a lot of work while logging in, like refreshing the tree cache and searching for changed files. You may speed things up by turning on Require Checkout before Checkin for the user in the GUI client. This will prevent Vault from scanning all of your working folders when you log in.

If that doesn't work, I don't have many more ideas.

realtytrac
Posts: 34
Joined: Wed Jun 15, 2005 2:07 pm

Post by realtytrac » Wed Jul 13, 2005 11:26 am

I put the web application on the same server that Vault is hosted, and it sped up the login exceptionally.

FYI

Locked