Do not query db on foreground thread.

Co-authored-by: Mikayla <mikayla@zed.dev>
081e340d26Piotr Osiewicz committed on 6/30/2023, 12:05:55 PMparent818ddbc
2 files changedLine totals unavailable