Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/266022
Change subject: Try to make Jenkins happy
......................................................................
Try to make Jenkins happy
Change-Id: Ic97af02833bd0d35bdbbd1670a5b4367da2b0fd1
---
M quarry/web/killer.py
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/analytics/quarry/web
refs/changes/22/266022/1
diff --git a/quarry/web/killer.py b/quarry/web/killer.py
index fb4d253..2aa46ae 100755
--- a/quarry/web/killer.py
+++ b/quarry/web/killer.py
@@ -27,8 +27,7 @@
queries = cur.fetchall()
logging.info("Found %s queries running", len(queries))
to_kill = [q for q in queries
- if q[5] > config['QUERY_TIME_LIMIT']
- and q[4] != 'Sleep']
+ if q[5] > config['QUERY_TIME_LIMIT'] and q[4] != 'Sleep']
logging.info("Found %s queries to kill", len(to_kill))
for q in to_kill:
try:
--
To view, visit https://gerrit.wikimedia.org/r/266022
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic97af02833bd0d35bdbbd1670a5b4367da2b0fd1
Gerrit-PatchSet: 1
Gerrit-Project: analytics/quarry/web
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits