Modify ↓
Opened 16 years ago
Closed 16 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)
Change History (5)
comment:1 by , 16 years ago
| Owner: | changed from to |
|---|
by , 16 years ago
| Attachment: | cachefiles.patch added |
|---|
comment:2 by , 16 years ago
| Summary: | cache.wmsplugin.expire and cache.wmsplugin.maxsize are not honored? → [PATCH] cache.wmsplugin.expire and cache.wmsplugin.maxsize are not honored? |
|---|
comment:4 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



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).