Skip to content

Commit cd4e329

Browse files
committed
use most recent build id for source archive index caching
1 parent 4c1d262 commit cd4e329

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.sqlx/query-8fdb5774a13ea9d9a70552395a4b275e859e91e439ddcd3f6be9e4cfa845f94d.json renamed to .sqlx/query-5130f2d40dfc60c64e830b9567077f41b7472d1bb9c8a8943a74bf7df4afe8eb.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/source.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ pub(crate) async fn source_browser_handler(
232232
(
233233
SELECT id
234234
FROM builds
235-
WHERE
236-
builds.rid = releases.id AND
237-
builds.build_status = TRUE
235+
WHERE builds.rid = releases.id
238236
ORDER BY build_time DESC
239237
LIMIT 1
240238
) AS latest_build_id

0 commit comments

Comments
 (0)