@@ -163,6 +163,17 @@ catalog:
|
||||
orphanStrategy: delete
|
||||
```
|
||||
|
||||
## Clean up entities from orphaned entity providers
|
||||
|
||||
By default, if an entity provider which has provided entities to the catalog, is no longer configured, then the entities remain in the catalog until they are manually unregistered.
|
||||
|
||||
To remove these entities automatically, you can use the following configuration.
|
||||
|
||||
```yaml
|
||||
catalog:
|
||||
evictOrphanedEntityProviders: true
|
||||
```
|
||||
|
||||
## Processing Interval
|
||||
|
||||
The [processing loop](./life-of-an-entity.md#processing) is
|
||||
|
||||
Vendored
+1
-1
@@ -218,7 +218,7 @@ export interface Config {
|
||||
useUrlReadersSearch?: boolean;
|
||||
|
||||
/**
|
||||
* Evicts entities from the catalog that are no longer referenced by entity providers added to the catalog.
|
||||
* Evicts entities from the catalog when their related entity provider no longer exists.
|
||||
*/
|
||||
evictOrphanedEntityProviders?: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user