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

@@ -29,6 +29,7 @@ public class Xomp_parse_mgr {
Xomp_mgr_db mgr_db = Xomp_mgr_db.New__load(cfg.Mgr_url());
// init page_pool
Lru_cache_root.Instance.Del(wiki.Cache_mgr().Page_cache().Cache_key()); // delete defautl page_cache, b/c we will make one below
Xomp_page_pool_loader page_pool_loader = new Xomp_page_pool_loader(wiki, mgr_db.Conn(), cfg.Num_pages_in_pool(), cfg.Show_msg__fetched_pool());
Xomp_page_pool page_pool = new Xomp_page_pool(page_pool_loader, cfg.Num_pages_per_wkr());