allow setting ttl in protonmsg

This commit is contained in:
Mike McLean 2024-11-05 14:01:27 -05:00 committed by Tomas Kopecek
parent fa0c558912
commit 8a472ed94e
3 changed files with 7 additions and 1 deletions

View file

@ -224,12 +224,12 @@ The following fields are understood:
before timing out
The ``[message]`` section sets parameters for how messages are formed.
Currently only one field is understood:
* ``extra_limit`` -- the maximum allowed size for ``build.extra`` fields that
appear in messages. If the ``build.extra`` field is longer (in terms of
json-encoded length), then it will be omitted. The default value is ``0``
which means no limit.
* ``ttl`` -- The time to live to set for messages. Measured in seconds
The ``[queue]`` section controls how (or if) the plugin will use the database
to queue messages when they cannot be immediately sent.