Author: fapeeler
Date: Thu Oct  4 16:09:06 2012
New Revision: 1394128

URL: http://svn.apache.org/viewvc?rev=1394128&view=rev
Log:
VCL-640

removed 30min start time. 

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

Modified: vcl/trunk/managementnode/lib/VCL/utils.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/utils.pm?rev=1394128&r1=1394127&r2=1394128&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/utils.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/utils.pm Thu Oct  4 16:09:06 2012
@@ -1010,8 +1010,8 @@ sub check_blockrequest_time {
        #notify($ERRORS{'DEBUG'}, 0, "start:  $start_datetime,  epoch: 
$start_time_epoch_seconds,  delta: $start_delta_minutes minutes");
        #notify($ERRORS{'DEBUG'}, 0, "end:    $end_datetime,    epoch: 
$end_time_epoch_seconds,    delta: $end_delta_minutes minutes");
 
-       # if 30min to 6 hrs in advance: start assigning resources
-       if ($start_delta_minutes >= (30) && $start_delta_minutes <= (6 * 60)) {
+       # if 1min to 6 hrs in advance: start assigning resources
+       if ($start_delta_minutes <= (6 * 60)) {
                # Block request within start window
                notify($ERRORS{'OK'}, 0, "block request start time is within 
start window ($start_delta_minutes minutes from now), returning 'start'");
                return "start";


Reply via email to