From f994440922630727e19566a0b2e29ae962fa87ae Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Thu, 28 Oct 2010 22:13:58 +0200 Subject: [PATCH] Make the prefetcher make eos use an optimized skill list with everything prefetched --- eos | 2 +- service/prefetch.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/eos b/eos index 5b7f8eaf7..fc317f1ba 160000 --- a/eos +++ b/eos @@ -1 +1 @@ -Subproject commit 5b7f8eaf715cfaa9a835a4057ad6c0671d2ecdc2 +Subproject commit fc317f1ba6ba9528bd14f9135ff5bc616c6e1243 diff --git a/service/prefetch.py b/service/prefetch.py index df74b1c72..874d26595 100644 --- a/service/prefetch.py +++ b/service/prefetch.py @@ -18,14 +18,13 @@ #=============================================================================== import threading -import service -import eos.db +import eos.types class PrefetchThread(threading.Thread): def run(self): # We're a daemon thread, as such, interpreter might get shut down while we do stuff # Make sure we don't throw tracebacks to console try: - eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon")) + eos.types.Character.setSkillList(eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon"))) except: pass