From f92c517bb5336d72b631c262d39b2509d0adab97 Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Wed, 27 Oct 2010 19:13:05 +0200 Subject: [PATCH] Experimental change: disable gamedata caching completely and stop all prefetching except for fetching the skill list --- config.py | 7 +++++-- eos | 2 +- service/prefetch.py | 4 ---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config.py b/config.py index c3dd90bfe..55c79880e 100644 --- a/config.py +++ b/config.py @@ -15,7 +15,10 @@ staticPath = homePath saveddata = os.path.join(homePath, "saveddata.db") gamedata = os.path.join(homePath, "eve.db") -# saveddata db location modifier, shouldn't ever need to touch this import eos.config + +#Caching modifiers, disable all gamedata caching, its unneeded. +eos.config.gamedataCache = None +# saveddata db location modifier, shouldn't ever need to touch this eos.config.saveddata_connectionstring = "sqlite:///" + saveddata -eos.config.gamedata_connectionstring = "sqlite:///" + gamedata \ No newline at end of file +eos.config.gamedata_connectionstring = "sqlite:///" + gamedata diff --git a/eos b/eos index 152693b1c..fe2977950 160000 --- a/eos +++ b/eos @@ -1 +1 @@ -Subproject commit 152693b1cc2d7fc43474753ca6bf83dfbdcd206e +Subproject commit fe2977950e020ed53d122840d55248a1b0b42c5e diff --git a/service/prefetch.py b/service/prefetch.py index 68415cf54..df74b1c72 100644 --- a/service/prefetch.py +++ b/service/prefetch.py @@ -26,10 +26,6 @@ class PrefetchThread(threading.Thread): # Make sure we don't throw tracebacks to console try: eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon")) - cMarket = service.Market.getInstance() - root = cMarket.getShipRoot() - for id, _ in root: - cMarket.getShipList(id) except: pass