Skip to content

Commit

Permalink
Merge pull request #432 from garlick/issue#423
Browse files Browse the repository at this point in the history
RFC 14,25: add preemptible-after system attribute
  • Loading branch information
mergify[bot] authored Nov 15, 2024
2 parents 567de00 + df838e8 commit ba7a510
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec_14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,13 @@ Some common system attributes are:
``duration`` is configured, and the current instance has no expiration,
then resources shall be allocated without expiration.

**preemptible-after**
A floating point number greater than or equal to zero representing job
run time after which the job MAY be canceled in order to make way for
other jobs. A value of zero indicates that the job is immediately
preemptible. The attribute SHALL NOT be set if the job is never
preemptible.

**environment**
The value of the ``environment`` attribute is a dictionary containing the names
and values of environment variables that should be set (or unset) when spawning
Expand Down
2 changes: 2 additions & 0 deletions spec_25.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ definitions can be found in RFC14. Values MAY have any valid YAML type.

- duration

- preemptible-after

- environment

- cwd
Expand Down
1 change: 1 addition & 0 deletions spell.en.pws
Original file line number Diff line number Diff line change
Expand Up @@ -495,3 +495,4 @@ unsatisfiable
cgroup
procs
unencoded
preemptible

0 comments on commit ba7a510

Please sign in to comment.