Experimental change: disable gamedata caching completely and stop all
prefetching except for fetching the skill list
This commit is contained in:
@@ -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
|
||||
eos.config.gamedata_connectionstring = "sqlite:///" + gamedata
|
||||
|
||||
2
eos
2
eos
Submodule eos updated: 152693b1cc...fe2977950e
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user