| Summary: | [client][sites] Huge number of GETs when creating a new site configuration | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Tomasz Zarna <tomasz.zarna> |
| Component: | Client | Assignee: | Project Inbox <e4.orion-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | mamacdon |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Tomasz Zarna
Couldn't reproduce this -- tried my local server and orion.eclipse.org. When you create a site, it does GET /workspaces to fetch your workspace id. This should just be 1 request. It then takes you to /sites/site.html which does GET /workspace/<workspaceId> to fetch the project names. Looking at the code, I see that it does this for every workspace you own, not just the one site site is associated with. This is a bug. Do you have several thousand old workspaces associated with your user account? That, combined with what I said above, could lead to a huge number of requests. (In reply to comment #1) > Do you have several thousand old workspaces associated with your user account? > That, combined with what I said above, could lead to a huge number of requests. Yup, that might be the culprit. I'm logging in as test/test which I also use to run JUnits locally. Most of the cases start from creating a new workspace to isolate the test. Just checked, works fine for a brand new user. |