Skip to content

Commit

Permalink
Add codes 15 and 16 to the blocked count
Browse files Browse the repository at this point in the history
- 15: Blocked (database is busy)
- 16: Blocked (special domain)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
  • Loading branch information
rdwebdesign committed Sep 30, 2022
1 parent 7c2dbf4 commit d47efd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@
ELSE 0
END) AS domains,
SUM(CASE
WHEN status IN (1,4,5,6,7,8,9,10,11) THEN 1
WHEN status IN (1,4,5,6,7,8,9,10,11,15,16) THEN 1
ELSE 0
END) AS blocked
FROM queries
Expand Down

0 comments on commit d47efd1

Please sign in to comment.