From 10796950ae2ea86fd853c6d0937e0aa9bca6f8d0 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 15 Nov 2012 10:43:09 +0000 Subject: Alert on >= 5000 jobs. --- bin/custodian-queue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/custodian-queue b/bin/custodian-queue index bab4214..7928105 100755 --- a/bin/custodian-queue +++ b/bin/custodian-queue @@ -131,7 +131,7 @@ if __FILE__ == $0 then stats = queue.stats() jobs = stats['current-jobs-ready'] || 0 - if ( jobs > 3000 ) + if ( jobs > 5000 ) system( "mauvesend alert.bytemark.co.uk -i custodian -r now -s \"Our queue has #{jobs} in it\" --detail=\"

The custodian queue doesn't seem to be emptying. Is there a bug, or do we need to add more workers?

\" " ) else system( "mauvesend alert.bytemark.co.uk -i custodian -c now -s \"Our queue has #{jobs} in it\" --detail=\"

The custodian queue doesn't seem to be emptying. Is there a bug, or do we need to add more workers?

\" " ) -- cgit v1.2.1