Skip to content

fix: Preserve explicit zero timedelta values in discovery manifests - #230

Open
hnicke wants to merge 1 commit into
restatedev:mainfrom
hnicke:fix-zero-retention
Open

fix: Preserve explicit zero timedelta values in discovery manifests#230
hnicke wants to merge 1 commit into
restatedev:mainfrom
hnicke:fix-zero-retention

Conversation

@hnicke

@hnicke hnicke commented Aug 29, 2026

Copy link
Copy Markdown

Passing explicit timedelta(seconds=0) timedelta values for inactivity timeout, abort timeout, journal retention and idempotency retention was silently dropped - instead, the global defaults were used.
Now, settings the retention times to 0s properly disables the rentention.

Fixes #172

@github-actions

github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@hnicke

hnicke commented Aug 29, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@hnicke

hnicke commented Aug 29, 2026

Copy link
Copy Markdown
Author

recheck

Setting retention times to `timedelta(seconds=0)` was silently dropped; instead, the global defaults were used.
Now, settings the retention times to 0s properly disables the rentention.
@hnicke
hnicke force-pushed the fix-zero-retention branch from e4b6aa6 to 46016d1 Compare August 29, 2026 08:09
@hnicke hnicke changed the title fix: Preserve explicit zero retention values in discovery manifests fix: Preserve explicit zero timedelta values in discovery manifests Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

timedelta(seconds=0) silently ignored for inactivity_timeout and other duration options

1 participant