Skip to content

Stop hanging if appservice crashes at startup.#677

Open
Gnuxie wants to merge 1 commit into
mainfrom
gnuxie/catatatatatatatatat
Open

Stop hanging if appservice crashes at startup.#677
Gnuxie wants to merge 1 commit into
mainfrom
gnuxie/catatatatatatatatat

Conversation

@Gnuxie

@Gnuxie Gnuxie commented Jan 15, 2025

Copy link
Copy Markdown
Member

Fixes #503.

return service;
} catch (e: unknown) {
log.error("Failed to start the appservice", e);
await dataStore.close();

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is still kinda shit

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't like it, there's a close method on the MjolnirAppService that we hsould be calling somewhere but we don't ever

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.

Appservice hangs with no clear failure if the admin room is not found

1 participant