Modify ↓
Opened 10 years ago
Last modified 10 years ago
#11825 assigned enhancement
Set imagery.wms.simultaneousConnections to 6 by default
| Reported by: | Stereo | Owned by: | wiktorn |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Core imagery | Version: | |
| Keywords: | Cc: |
Description
JOSM defaults to 3 simultaneous connections per hostname. Most modern browsers default to 6 or more:
http://www.browserscope.org/?category=network&v=top
In
/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
public static final IntegerProperty THREAD_LIMIT = new IntegerProperty(PREFERENCE_PREFIX + "simultaneousConnections", 3);
should be changed to
public static final IntegerProperty THREAD_LIMIT = new IntegerProperty(PREFERENCE_PREFIX + "simultaneousConnections", 6);
Attachments (0)
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
| Component: | Core → Core imagery |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.



WMS is not a typical HTTP request. It usually requires quite intensive processing on server side to get specified request. My guess is, that instead of more simultaneus connections, it is better just to request bigger tiles. But this really depends on your screen size / network speed.
I personally use WMS tile size of 1024, but I usually work with 2560x1440 screen. So my guess is that's hard to come with rational default.