0a108dd849
Fixes #2131. After some heavy profiling, it became clear that sending of each message was causing a fetch to get all contacts from status-go. This was incurring a minimum of a 0.03s delay for each fetch, which was causing a bottleneck each time it was called for various operations throughout the codebase. This code addds a layer of threadsafe caching to the contacts call, such that only the first call to contacts fetching will incur the delay, as well as every fetch after a contacts CUD operation. |
||
---|---|---|
.. | ||
app | ||
status | ||
eventemitter.nim | ||
nim_status_client.nim | ||
nim_windows_launcher.nim |