Skip to content

fix(core): stop the bots at once on shutdown - #272

Merged
arthware-dev merged 1 commit into
feature/0.5.0-beta.1from
fix/stop-bots-at-once
Oct 19, 2026
Merged

arthware-dev merged 1 commit into
feature/0.5.0-beta.1from
fix/stop-bots-at-once

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

Summary

  • Stopping a bot only set a flag that the sync loop read after its 30-second wait for the homeserver returned. The container runtime's stop timeout is shorter, so most bots were killed on every restart before they closed their connections.
  • stop() now ends the wait at once; work already under way finishes first.

Stopping a bot only set a flag that the sync loop read after its
30-second wait for the homeserver returned. The container runtime's
stop timeout is shorter, so most bots were killed before they closed
their connections.

`stop()` now ends the wait at once; work already under way finishes
first.
@arthware-dev
arthware-dev merged commit 69f1bdd into feature/0.5.0-beta.1 Oct 19, 2026
1 check passed
arthware-dev added a commit that referenced this pull request Oct 20, 2026
Stopping a bot only set a flag that the sync loop read after its
30-second wait for the homeserver returned. The container runtime's
stop timeout is shorter, so most bots were killed on every restart
before they closed their connections.

`stop()` now ends the wait at once; work already under way finishes
first.
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.

1 participant