Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add old draft deletion section #622

Merged
merged 4 commits into from
Jan 31, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions node.js/fiori.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@ To prevent inconsistency, the entities with draft are locked for modifications b
cds.drafts.cancellationTimeout=1h
```

### Old Draft Deletion

Old inactive drafts can be deleted automatically after a timeout. You can configure this timeout by the following application configuration property:

```properties
cds.fiori.deletionTimeout=true
```

You can set the property
- to a number of days like '30d'
- to a number of milliseconds like 100000
- to true in order to obtain the default timeout of 30 days.
renejeglinsky marked this conversation as resolved.
Show resolved Hide resolved

### Differences to Previous Version

- Draft-enabled entities have corresponding CSN entities for drafts:
Expand Down