Trying to fix httpdStore race condition
Remove node config from httpdStore and poll only active tab and browser
1 file changed
+32
-13
25b61573
→
dbfb56f3
modified src/lib/httpd.ts
@@ -1,5 +1,3 @@
| - | |
| - | |
|
|
|
|
|
@@ -13,13 +11,15 @@ export interface Session {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -60,7 +60,7 @@ export async function authenticate(params: {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -69,7 +69,7 @@ export async function authenticate(params: {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -91,8 +91,11 @@ export async function disconnect() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -123,10 +126,10 @@ async function checkState() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -136,12 +139,18 @@ async function checkState() {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -157,12 +166,22 @@ async function checkState() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|