Skip to content

Commit

Permalink
Merge pull request #224 from tmaeno/master
Browse files Browse the repository at this point in the history
cleanup for debug mode
  • Loading branch information
tmaeno authored Jun 13, 2023
2 parents 87a1b36 + 0fcfadd commit fe01725
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PandaPkgInfo.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release_version = "0.0.59"
release_version = "0.0.60"
2 changes: 1 addition & 1 deletion pandaserver/jobdispatcher/Protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def appendJob(self, job, siteMapperCache=None):
if job.is_no_looping_check():
self.data['loopingCheck'] = False
# debug mode
if job.specialHandling is not None and 'debug' in job.specialHandling:
if job.is_debug_mode():
self.data['debug'] = 'True'
# event service or job cloning or fine-grained
if EventServiceUtils.isJobCloningJob(job):
Expand Down
7 changes: 5 additions & 2 deletions pandaserver/taskbuffer/OraDBProxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2424,8 +2424,11 @@ def updateJobStatus(self,pandaID,jobStatus,param,updateStateChange=False,attempt
lockedby,jediTaskID,jobsetID,jobDispatcherErrorDiag,supErrorCode,eventService,batchID \
= res
# debug mode
if specialHandling not in [None,''] and 'debug' in specialHandling:
ret += 'debug,'
if specialHandling:
tmpJobSpec = JobSpec()
tmpJobSpec.specialHandling = specialHandling
if tmpJobSpec.is_debug_mode():
ret += 'debug,'
# FIXME
#else:
# ret += 'debugoff,'
Expand Down

0 comments on commit fe01725

Please sign in to comment.