evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.77k stars 57 forks source link

fix: optimistic update history entry #177

Closed evan-buss closed 3 days ago

evan-buss commented 3 days ago

If the IRC server processes the request fast enough we were setting the search results faster than we could create a new history entry for them. This resulted in writing to the previous history entry and the latest entry stuck in loading state.

sonarcloud[bot] commented 3 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud