Skip to content

Commit

Permalink
Add old draft deletion section
Browse files Browse the repository at this point in the history
  • Loading branch information
vkozyura committed Jan 11, 2024
1 parent a05fd01 commit 2f99172
Showing 1 changed file with 13 additions and 0 deletions.
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.

### Differences to Previous Version

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

0 comments on commit 2f99172

Please sign in to comment.