Skip to content

Commit

Permalink
15s max query time (temp)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 2, 2024
1 parent 9197498 commit 0e86ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/v1/clan_first.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func ClansFirstPlaceRankingGET(md common.MethodData) common.CodeMessager {

rx := common.Int(md.Query("rx"))
rows, err := md.DB.Query(`
SELECT COUNT(*) AS count, clans.id, clans.tag, clans.name
SELECT /*+ MAX_EXECUTION_TIME(15000) */ COUNT(*) AS count, clans.id, clans.tag, clans.name
FROM scores_first
JOIN users ON users.id = userid
JOIN clans ON clans.id = users.clan_id
Expand Down

0 comments on commit 0e86ead

Please sign in to comment.