Skip to content

Commit

Permalink
Merge pull request #70 from isi-vista/fix-max-walltime
Browse files Browse the repository at this point in the history
Update max walltime for scavenge to 2 hrs
  • Loading branch information
joecummings authored Nov 18, 2020
2 parents 55f57b7 + 6ab7acb commit 15e805c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pegasus_wrapper/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Artifact(Protocol):
"""

depends_on: ImmutableSet[DependencyNode]
locator: Optional[Locator]
locator: Optional[Locator] = attrib(validator=optional(instance_of(Locator)))


def _canonicalize_depends_on(
Expand Down Expand Up @@ -97,7 +97,7 @@ class AbstractArtifact(Artifact):
converter=_canonicalize_depends_on, kw_only=True, default=immutableset()
)
locator: Optional[Locator] = attrib(
validator=optional(instance_of(Locator)), kw_only=True
validator=optional(instance_of(Locator)), kw_only=True, default=None
)


Expand Down
2 changes: 1 addition & 1 deletion pegasus_wrapper/resource_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __str__(self) -> str:

@staticmethod
def from_str(name: str):
_partition_to_max_walltime = {"ephemeral": 720, "scavenge": 60}
_partition_to_max_walltime = {"ephemeral": 720, "scavenge": 120}

return Partition(
name=name,
Expand Down

0 comments on commit 15e805c

Please sign in to comment.