perf(electron): add index for updates (#6951)
 Above image shows the performance on querying a 20k rows of updates table, which is super slow at 150+ms. After adding index for doc_id the performance should be greatly improved. After:  fix TOV-866
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"experimentalDecorators": true,
|
||||
"types": ["node", "affine__env"],
|
||||
"outDir": "lib",
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "Bundler",
|
||||
"resolveJsonModule": true,
|
||||
"noImplicitOverride": true,
|
||||
"paths": {
|
||||
|
||||
Reference in New Issue
Block a user