feat: use cache for network requests
This commit is contained in:
parent
9e8ecd69e9
commit
4e27983047
|
@ -10,6 +10,7 @@ import app/login/core as login
|
|||
import app/provider/core as provider
|
||||
import status/signals/core as signals
|
||||
import status/libstatus/types
|
||||
import status/libstatus/accounts/constants
|
||||
import nim_status
|
||||
import status/status as statuslib
|
||||
import ./eventemitter
|
||||
|
@ -56,8 +57,9 @@ proc mainProc() =
|
|||
elif (defined(linux)):
|
||||
i18nPath = joinPath(getAppDir(), "../i18n")
|
||||
|
||||
|
||||
let networkAccessFactory = newQNetworkAccessManagerFactory(TMPDIR & "netcache")
|
||||
let engine = newQQmlApplicationEngine()
|
||||
engine.setNetworkAccessManagerFactory(networkAccessFactory)
|
||||
let signalController = signals.newController(status)
|
||||
|
||||
# We need this global variable in order to be able to access the application
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1d57c85694cb98b0f3654f7b94a86fed49533144
|
||||
Subproject commit a474e0e1fedd213fa9590811faca198761660857
|
|
@ -1 +1 @@
|
|||
Subproject commit aa6a4196dba4e843534d19124f4aadbd6886ca08
|
||||
Subproject commit 543ec079c4f5d16ab262b12e8b51883a18e9130b
|
Loading…
Reference in New Issue