Skip to content

fix: Race condition on init & add method for overriding config options - #172

Merged
Dadadah merged 4 commits into
stoatchat:mainfrom
Pecacheu:fix/initrace
Jul 27, 2026
Merged

fix: Race condition on init & add method for overriding config options#172
Dadadah merged 4 commits into
stoatchat:mainfrom
Pecacheu:fix/initrace

Conversation

@Pecacheu

Copy link
Copy Markdown
Contributor

Should fix race condition upon config fetch without breaking any compatibility, while also providing a much more reliable means of overriding individual config options before the configured() flag is set, solving two related race conditions in one go.

Comment thread src/Client.ts Outdated
Comment thread src/Client.ts Outdated

@Dadadah Dadadah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i accidentally made the last review an approve whoops lol

Comment thread src/Client.ts Outdated
Pecacheu added 4 commits July 27, 2026 09:45
…s before configured() is set

Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
@Dadadah
Dadadah merged commit 7ee0912 into stoatchat:main Jul 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants