Closed mr-zwets closed 2 weeks ago
I'm in Australia, so probably a few more network hops away from most services relative to Europe.
Occasionally, I do slip under the 500ms, but generally it's a miss from where I'm located.
A few timings measured below (most seem to hover between 1000ms-1500ms from here... 2000ms+ appears infrequent):
this issue should now be resolved (as of v0.2.3) with method 2. so without the need for a boot-file.
Thanks @jimtendo for helping with the fix!
Currently there can be a race condition where Cashonize hasn't initialized yet, see: https://github.com/cashonize/cashonize-wallet/blob/main/src/pages/WalletPage.vue#L43
@jimtendo suggested 3 possible fixes
to use a boot file to initialize the store,
/boot/...
files run before any components/pages are mountedmight be able to replace the code above with something in the stores/store.ts that just uses JS (or Vue router) to read the URL after WC and CC are initialized.
as a hotfix, could increase the timeout
I haven't run into the race-condition while testing