# RedisStorageOptions.EntryExpiry

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redisstorageoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.persistence.redis/orleans.persistence.redisstorageoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Persistence.Redis/Providers/RedisStorageOptions.cs)

```csharp
public TimeSpan? EntryExpiry
```

Entry expiry, null by default. A value should be set only for ephemeral environments, such as testing environments. Setting a value different from `null` will cause duplicate activations in the cluster.
