Modify

Opened 16 years ago

Closed 15 years ago

#3289 closed defect (fixed)

[PATCH] cache.wmsplugin.expire and cache.wmsplugin.maxsize are not honored?

Reported by: alexm Owned by: xeen
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: Cc:

Description

It looks to me, that the settings are not in effect.

After commenting to lines out, it seems to work as expected:

WMSPlugin.java

public WMSPlugin() {

refreshMenu();

cache.setExpire(cache.EXPIRE_MONTHLY, false);
cache.setMaxSize(70, false);

}

Attachments (1)

cachefiles.patch (5.7 KB ) - added by xeen 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by xeen, 15 years ago

Owner: changed from team to xeen

by xeen, 15 years ago

Attachment: cachefiles.patch added

comment:2 by xeen, 15 years ago

Summary: cache.wmsplugin.expire and cache.wmsplugin.maxsize are not honored?[PATCH] cache.wmsplugin.expire and cache.wmsplugin.maxsize are not honored?

The patch looks huge but it's mainly cosmetic due to slightly incorrect indentation when I originally created the file. Only real change is actually in setExpire and setMaxSize which will not overwrite the in-memory value if it already exists unless it's forced. (Previously it would overwrite the values from the prefs).

comment:3 by xeen, 15 years ago

PS: Patch is against JOSM, not the WMS Plugin

comment:4 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

(In [2016]) fixed #3289 - patch by xeen - cache.wmsplugin.expire and cache.wmsplugin.maxsize are not honored

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain xeen.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.