Project

General

Profile

Bug #20978

Need time range limit in poms_submission_agent.py...

Added by Marc Mengel almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/28/2018
Due date:
% Done:

100%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

Currently the poms_submission_agent always requests the jobs since the last time it successfully got job info. However if for some reason a given experiments job list times out, this snowballs, as the bigger time window
of the second and later requests is even less likely to complete in the timeout than the preveious attempt...

What we need is a piece of code in there that slices up the needed time period into requests of a given time width; and if the request timed out previously, to slice it up into smaller pieces than last time(?).

then we can also make that last-time-we-checked dictionary a persistent python "shelf", so we recover better from the agent being off-line.

Associated revisions

Revision 7c71c057 (diff)
Added by Marc Mengel over 1 year ago

draft of change for #20978

History

#1 Updated by Stephen White almost 2 years ago

  • Assignee set to Marc Mengel

#2 Updated by Marc Mengel over 1 year ago

Just put in a change to limit this to max 3600 secs == 1 hour.

#3 Updated by Marc Mengel over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#4 Updated by Stephen White over 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF