ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/SchedulerRemoteglidein.py
(Generate patch)

Comparing COMP/CRAB/python/SchedulerRemoteglidein.py (file contents):
Revision 1.5 by belforte, Wed Oct 10 21:10:20 2012 UTC vs.
Revision 1.6 by belforte, Mon Oct 22 12:07:36 2012 UTC

# Line 58 | Line 58 | class SchedulerRemoteglidein(SchedulerGr
58          self.group = cfg_params.get("GRID.group", None)
59          self.role = cfg_params.get("GRID.role", None)
60          self.VO = cfg_params.get('GRID.virtual_organization','cms')
61 +        self.allowOverflow = cfg_params.get('GRID.allow_overflow', 1)
62  
63          self.checkProxy()
64  
# Line 158 | Line 159 | class SchedulerRemoteglidein(SchedulerGr
159          else:
160              jobParams += '+MaxWallTimeMins = %d; ' % (60*24)
161  
162 +        if self.allowOverflow == "0":
163 +            jobParams += '+CMS_ALLOW_OVERFLOW = False; '
164 +
165          common._db.updateTask_({'jobType':jobParams})
166  
167  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines