Modify

Opened 4 years ago

Last modified 4 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 Changed 4 years ago by wiktorn

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.

comment:2 Changed 4 years ago by wiktorn

Component: CoreCore imagery
Owner: changed from team to wiktorn
Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain wiktorn.
as The resolution will be set.
to The owner will be changed from wiktorn to the specified user.
The owner will change to Stereo
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.