Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(app-shell, app-shell-odd): Refactor app to use unsubscribe flags #14633

Closed
wants to merge 14 commits into from
Prev Previous commit
Next Next commit
the odd is not the app
  • Loading branch information
mjhuff committed Mar 12, 2024
commit 7afd091fc2a758833564aa2ef5805cf8464a6508
2 changes: 1 addition & 1 deletion app-shell-odd/src/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const pendingUnsubs = new Set<NotifyTopic>()
const log = createLogger('notify')
// MQTT is somewhat particular about the clientId format and will connect erratically if an unexpected string is supplied.
// This clientId is derived from the mqttjs library.
const CLIENT_ID = 'app-' + Math.random().toString(16).slice(2, 8)
const CLIENT_ID = 'odd-' + Math.random().toString(16).slice(2, 8)

const connectOptions: mqtt.IClientOptions = {
clientId: CLIENT_ID,
Expand Down
Loading