What is the difference between the two.

The cache-duration is explained in the docs and is fairly clear:

Duration for which messages will be buffered before they are deleted

so it is to account for network interruptions of subscribers.

message-expiry-duration is mentioned but there is no explanation for it in the docs.

  • loving_ntfy@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Not quite clear.

    Given I have no tiers, I am covered just with cache-duration and can completely ignore message-expiry-duration?

    I have a single service that POSTs messages to ntfy which sends them to subscribers. Any subscriber will have to connect within cache-duration or else ntfy deletes messages older than that from the database. Is that accurate? The intention is to keep the sqlite db lean and small.