Skip to content

Commit a727ed6

Browse files
authored
feat(labrinth): improve "Exclude TR" performance (#7594)
* feat(labrinth): use `delphi_tech_review_queue` * chore: increase moderation project request timeout * chore(build): set debug = "line-tables-only" * chore(build): line-tables-only on test profile * chore(build): set inherits="dev" * tombi
1 parent a4aa22b commit a727ed6

11 files changed

Lines changed: 339 additions & 373 deletions

‎Cargo.toml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,15 @@ strip = true # Remove debug symbols
324324
lto = true # Enables link to optimizations
325325
panic = "abort" # Strip expensive panic clean-up logic
326326

327+
[profile.test]
328+
inherits = "dev"
329+
debug = "line-tables-only"
330+
327331
# Specific profile for labrinth production builds
328332
[profile.release-labrinth]
329333
inherits = "release"
330334
opt-level = 2
335+
debug = "line-tables-only" # Minimal debug info
331336
strip = false # Keep debug symbols for Sentry
332337
lto = "thin" # Enable LTO but keep compile times reasonable
333338
panic = "unwind" # Don't exit the whole app on panic in production

‎apps/labrinth/.sqlx/query-02138159603a496d8346796d105a15300426eb1f7fed92981fef685b5b422576.json‎

Lines changed: 0 additions & 135 deletions
This file was deleted.

‎apps/labrinth/.sqlx/query-2733cc4440a0d3135249729f622c5daaee0a00f04cdd033b68c02a468c2c17c6.json‎

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/labrinth/.sqlx/query-2ef077521d6ffa77609bc37f4cc33f2103bf11418fa1d16e5bd1b8a49ca12b46.json‎

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎apps/labrinth/.sqlx/query-62499fce63104cd3928f53f2dd5c0e659c2e2a4112cdc1e6bd39b1822c28eea0.json‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)