Commit b2bd663
committed
fix(webapp): stop slow database cleanup on project deletion
Deleting a project triggered an unbounded database cleanup that scanned the
project's entire run history, so deleting a project with many runs could be
very slow. Project deletion is a soft delete again: run data is retained and
the deletion completes quickly. The cascade-cleanup service had no other
callers, so it and its test are removed.1 parent a682f1d commit b2bd663
5 files changed
Lines changed: 9 additions & 941 deletions
File tree
- .server-changes
- apps/webapp
- app
- services
- v3/runOpsMigration
- test/v3/runOpsMigration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
Lines changed: 0 additions & 275 deletions
This file was deleted.
0 commit comments