Commit 7526ebe
committed
refactor: improve filter sync locking mechanism
- Updated the locking logic in the filter synchronization process to clone the `received_filter_heights` before awaiting the mutex, ensuring the `RwLock` is released promptly.
- This change enhances concurrency and responsiveness during filter sync operations, aligning with recent async improvements in the codebase.1 parent c4008fd commit 7526ebe
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2842 | 2842 | | |
2843 | 2843 | | |
2844 | 2844 | | |
2845 | | - | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
2846 | 2848 | | |
2847 | 2849 | | |
2848 | 2850 | | |
| |||
0 commit comments