[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Repository load timeout

Hi all!

I think this is a question which has been answered before but i cannot find it in the archives.

In the backend of a web-ui i do:
try {
repo = metadataRepoMgr.loadRepository(repoLoc, new NullProgressMonitor());
} ...

to force reload of the repo. but it seems to me that this call blocks if the other server is not responding (e.g. if you enter a not existing ip). (i'm not 100% sure whether its this line but it seems obvious...)

is there a possibility to define a timeout for the ECF backend? the webserver waits on a requests which can take up to several minutes...