Skip to content

Commit 5a0d59e

Browse files
authored
Merge pull request #305 from grondo/rfc21-memo
rfc21: add memo event
2 parents 379966b + d7ee783 commit 5a0d59e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

spec_21.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,20 @@ start
520520
free
521521
A problem occurred while releasing resources to the scheduler.
522522

523+
Memo Event
524+
^^^^^^^^^^
525+
526+
A brief data record has been associated with the job.
527+
528+
The context object SHALL contain a set of key-value pairs to associate
529+
with the job. Existing identical keys from a previous memo event SHALL
530+
be replaced. A value of JSON ``null`` SHALL remove the associated key.
531+
532+
Example:
533+
534+
.. code:: json
535+
536+
{"timestamp":1637723184.3725791,"name":"memo","context":{"key":"value"})
523537
524538
Debug Event
525539
^^^^^^^^^^^

0 commit comments

Comments
 (0)