From 4e7130bee0408dadddbff42481dfa5d9da383e5d Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 26 Aug 2008 15:32:17 +0000 Subject: [PATCH] $limit not used in the query anymore, but it is used to determine if the activity is done or not. --- lib/WebGUI/Workflow/Activity/PurgeOldInboxMessages.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebGUI/Workflow/Activity/PurgeOldInboxMessages.pm b/lib/WebGUI/Workflow/Activity/PurgeOldInboxMessages.pm index b57dd54f2..b5745b7b5 100644 --- a/lib/WebGUI/Workflow/Activity/PurgeOldInboxMessages.pm +++ b/lib/WebGUI/Workflow/Activity/PurgeOldInboxMessages.pm @@ -83,6 +83,7 @@ sub execute { # keep track of how much time it's taking my $start = time; + my $limit = 2_500; my $sth = $session->db->read(