payloadLifespan/payloadLifetime and other name variants unified to Time To Live naming.
All checks were successful
Build and Push Docker Image / build (push) Successful in 55s
Build and Push Docker Image / docker (push) Successful in 36s

This commit is contained in:
2025-07-05 17:07:53 +02:00
parent 85c462a614
commit a44912ac87
25 changed files with 496 additions and 25 deletions

View File

@ -49,9 +49,9 @@ Additional tunables, with their sustainable default values:
- `QUERY_RATE_PER_MINUTE: 100`
- Sets maximum allowed client query rate per minute for all endpoints. Anonymous users share same limit pool.
- If send rate is exceeded, client receives a `HTTP 429` with explanation.
- `DEFAULT_MESSAGE_LIFETIME_IN_MINUTES: 1`
- `DEFAULT_MESSAGE_TIME_TO_LIVE_IN_SECONDS: 60`
- Message will wait for delivery for set amount of time. After the time passes, a call to `/receive` will not consider it for delivery anymore.
- Override this in message content by setting _optional_ `lifespanInSeconds` value inside the request.
- Override this in message content by setting _optional_ `timeToLiveInSeconds` value inside the request.
- There will be no indication to the sender or to client that there was a missed message. Once it's gone, it's gone.
- `HOUSEKEEPING_ENABLED: true`
- Turns on housekeeping job that periodically removes stale, delivered and/or acknowledged messages. You can tune this further, see below. By default, it only removes messages that are 2 hours old, regardless of their delivery or acknowledgement state.
@ -106,7 +106,7 @@ Request:
"payloadType": "STATUS",
"payload": "{\n \"system\": \"OK\",\n}",
"toUserId": "46b882b7-4b96-4fa2-ba1b-4955a9500c36",
"lifespanInSeconds": "3600"
"timeToLiveInSeconds": "3600"
}
Response: