Skip to content

Commit

Permalink
refactor(state store): use a single lock for all memory store accesses
Browse files Browse the repository at this point in the history
The `MemoryStore` implementation of the `StateStore` has grown into a
monster, with one lock per field. It's probably overkill, as individual
fields don't need fine-grained locks like this; after all, accesses to
the store shouldn't be reentrant in general.

Fixes #3720.
  • Loading branch information
bnjbvr committed Dec 12, 2024
1 parent fda374e commit 3356e0c
Showing 1 changed file with 329 additions and 381 deletions.
Loading

0 comments on commit 3356e0c

Please sign in to comment.