Skip to content

refactor: replace async RwLock with sync RwLock for stock strings#8033

Merged
link2xt merged 1 commit intomainfrom
link2xt/sync-stock-string-rwlock
Mar 25, 2026
Merged

refactor: replace async RwLock with sync RwLock for stock strings#8033
link2xt merged 1 commit intomainfrom
link2xt/sync-stock-string-rwlock

Conversation

@link2xt
Copy link
Copy Markdown
Collaborator

@link2xt link2xt commented Mar 25, 2026

No description provided.

@link2xt link2xt marked this pull request as ready for review March 25, 2026 10:33
Comment thread src/stock_str.rs
use std::sync::Arc;

use anyhow::{Result, bail};
use parking_lot::RwLock;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Main change is here, lots of functions became non-async as a result.

@link2xt link2xt merged commit 2637c3b into main Mar 25, 2026
30 checks passed
@link2xt link2xt deleted the link2xt/sync-stock-string-rwlock branch March 25, 2026 19:48
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