Only compare httpd or node state for deciding to run `checkState`
Also adds a e2e test that allows us to avoid running into this race condition again.
2 files changed
+35
-16
92895082
→
d7521a46
modified src/App/Header/NodeInfo.svelte
@@ -1,5 +1,5 @@
|
|
| - | |
| + | |
|
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -46,23 +46,21 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/lib/httpd.ts
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
@@ -13,13 +13,23 @@ export interface Session {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -60,7 +70,7 @@ export async function authenticate(params: {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -69,7 +79,7 @@ export async function authenticate(params: {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -91,10 +101,15 @@ export async function disconnect() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -126,7 +141,13 @@ async function checkState() {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|