Prefetcher, YOU ARE NOT ALLOWED TO QQ, SHUT UP
This commit is contained in:
@@ -24,11 +24,14 @@ class PrefetchThread(threading.Thread):
|
|||||||
def run(self):
|
def run(self):
|
||||||
# We're a daemon thread, as such, interpreter might get shut down while we do stuff
|
# 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
|
# Make sure we don't throw tracebacks to console
|
||||||
eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon"))
|
try:
|
||||||
cMarket = service.Market.getInstance()
|
eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon"))
|
||||||
root = cMarket.getShipRoot()
|
cMarket = service.Market.getInstance()
|
||||||
for id, _ in root:
|
root = cMarket.getShipRoot()
|
||||||
cMarket.getShipList(id)
|
for id, _ in root:
|
||||||
|
cMarket.getShipList(id)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
prefetch = PrefetchThread()
|
prefetch = PrefetchThread()
|
||||||
prefetch.daemon = True
|
prefetch.daemon = True
|
||||||
|
|||||||
Reference in New Issue
Block a user