Skip to content

Payload Retention Period not working as expected #1933

Closed
@navdeepgsp

Description

@navdeepgsp

Bug Report

Payload retention period not working

Version

Svix-server image version 1.65.0

Platform

docker image

Description

I am using svix-server docker image version 1.65.0 and calling svix create message api.
In this POST API request body, I am passing payloadRetentionPeriod=14. This retention period is reflected in message table and not in messagecontent table.

Actual result:

message table contains an entry where expiration is created based on value passed in request i.e. today+14 days
messagecontent table still uses default value 90 days and expiration is created using default value i.e. today + 90 days
payload records from messagecontent records are deleted which are older than 90 days

Expected result:

messagecontent table should use retention period passed in request i.e 14 days and expiration should be created using value in request i.e. today + 14 days
payload records from messagecontent table should be deleted which are older than 14 days

Metadata

Metadata

Assignees

Labels

serverIssues regarding the server component

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions