Skip to content

Implement Sync for Appender#779

Merged
mlafeldt merged 1 commit into
mainfrom
appender-sync-765
Jun 4, 2026
Merged

Implement Sync for Appender#779
mlafeldt merged 1 commit into
mainfrom
appender-sync-765

Conversation

@mlafeldt

@mlafeldt mlafeldt commented Jun 3, 2026

Copy link
Copy Markdown
Member

All public methods take &mut self, and the only &self access (Debug) reads Connection's immutable path field. No mutation is reachable through a shared &Appender, so sharing one across threads is sound.

Fixes #765

All public methods take &mut self, and the only &self access (Debug)
reads Connection's immutable path field. No mutation is reachable
through a shared &Appender, so sharing one across threads is sound.
@mlafeldt mlafeldt mentioned this pull request Jun 3, 2026
@mlafeldt mlafeldt self-assigned this Jun 3, 2026
@mlafeldt mlafeldt merged commit 693a448 into main Jun 4, 2026
7 checks passed
@mlafeldt mlafeldt deleted the appender-sync-765 branch June 4, 2026 07:26
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.

Appender could be Sync

1 participant