You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2014/04/23 16:04:11 UTC

svn commit: r1589415 - /vcl/trunk/managementnode/lib/VCL/inuse.pm

Author: fapeeler
Date: Wed Apr 23 14:04:10 2014
New Revision: 1589415

URL: http://svn.apache.org/r1589415
Log:
VCL-758

timing for end of reservation notification


Modified:
    vcl/trunk/managementnode/lib/VCL/inuse.pm

Modified: vcl/trunk/managementnode/lib/VCL/inuse.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/inuse.pm?rev=1589415&r1=1589414&r2=1589415&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/inuse.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/inuse.pm Wed Apr 23 14:04:10 2014
@@ -167,8 +167,8 @@ sub process {
 	my $request_duration_seconds = ($request_end_epoch_seconds - $request_start_epoch_seconds);
 	my $request_duration_hours = floor($request_duration_seconds / 60 / 60);
 	
-	my $end_time_notify_minutes = 10;
-	my $end_time_notify_seconds = ($end_time_notify_minutes * 60);
+	my $end_time_notify_seconds = $self->os->get_timings('general_end_notice_first');
+	my $end_time_notify_minutes = floor($end_time_notify_seconds / 60);
 	
 	my $now_string               = strftime('%H:%M:%S', localtime($now_epoch_seconds));
 	my $request_end_string       = strftime('%H:%M:%S', localtime($request_end_epoch_seconds));