1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Mass_parse: Use page_cache hashCode, not wiki hashCode [#514]

This commit is contained in:
gnosygnu
2019-07-22 22:38:17 -04:00
parent 4547fa541f
commit 5c8b70fd76
2 changed files with 2 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ public class Xow_page_cache {
private long cache_misses = 0;
public Xow_page_cache(Xowe_wiki wiki) {
this.wiki = wiki;
this.cache_key = "xowa.app.page_cache.'" + wiki.Domain_str() + "'." + wiki.hashCode();
this.cache_key = "xowa.app.page_cache.'" + wiki.Domain_str() + "'." + this.hashCode();
this.cache = new Lru_cache(Bool_.Y, cache_key, 8 * Io_mgr.Len_mb, 16 * Io_mgr.Len_mb);
}
public String Cache_key() {return cache_key;} private final String cache_key;