Skip to content

Commit

Permalink
up the timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Feb 12, 2024
1 parent 7073a1c commit f204d01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app-shell-odd/src/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function subscribe(notifyParams: NotifyParams): Promise<void> {
// for a component to trigger an unsubscribe event on dismount while a new component mounts and
// triggers a subscribe event. For the connection store and MQTT to reflect correct topic subscriptions,
// do not unsubscribe and close connections before newly mounted components have had time to update the connection store.
const RENDER_TIMEOUT = 250
const RENDER_TIMEOUT = 10000 // 10 seconds

Check warning on line 191 in app-shell-odd/src/notify.ts

View check run for this annotation

Codecov / codecov/patch

app-shell-odd/src/notify.ts#L191

Added line #L191 was not covered by tests

function unsubscribe(notifyParams: NotifyParams): Promise<void> {
const { hostname, topic } = notifyParams
Expand Down
2 changes: 1 addition & 1 deletion app-shell/src/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function subscribe(notifyParams: NotifyParams): Promise<void> {
// for a component to trigger an unsubscribe event on dismount while a new component mounts and
// triggers a subscribe event. For the connection store and MQTT to reflect correct topic subscriptions,
// do not unsubscribe and close connections before newly mounted components have had time to update the connection store.
const RENDER_TIMEOUT = 250
const RENDER_TIMEOUT = 10000 // 10 seconds

Check warning on line 187 in app-shell/src/notify.ts

View check run for this annotation

Codecov / codecov/patch

app-shell/src/notify.ts#L187

Added line #L187 was not covered by tests

function unsubscribe(notifyParams: NotifyParams): Promise<void> {
const { hostname, topic } = notifyParams
Expand Down

0 comments on commit f204d01

Please sign in to comment.