From a58579dd150dc2564bcbe27ae130f6bff4e6b121 Mon Sep 17 00:00:00 2001
From: Jessica Severin <jessica@ebi.ac.uk>
Date: Fri, 6 Aug 2004 13:14:16 +0000
Subject: [PATCH] worker_check_in now also updates work_done so one can monitor
 how quickly it's progressing

---
 modules/Bio/EnsEMBL/Hive/Queen.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/Bio/EnsEMBL/Hive/Queen.pm b/modules/Bio/EnsEMBL/Hive/Queen.pm
index 3e887ab2b..b0a9eebba 100755
--- a/modules/Bio/EnsEMBL/Hive/Queen.pm
+++ b/modules/Bio/EnsEMBL/Hive/Queen.pm
@@ -174,6 +174,7 @@ sub worker_check_in {
 
   return unless($worker);
   my $sql = "UPDATE hive SET last_check_in=now()";
+  $sql .= " ,work_done='" . $worker->work_done . "'";
   $sql .= " WHERE hive_id='" . $worker->hive_id ."'";
 
   my $sth = $self->prepare($sql);
-- 
GitLab