# TTLConfig

> **Class** in `langgraph.store`

📖 [View in docs](https://reference.langchain.com/python/langgraph.store/base/TTLConfig)

Configuration for TTL (time-to-live) behavior in the store.

## Signature

```python
TTLConfig()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    refresh_on_read: bool,
    default_ttl: float | None,
    sweep_interval_minutes: int | None,
)
```

| Name | Type |
|------|------|
| `refresh_on_read` | `bool` |
| `default_ttl` | `float \| None` |
| `sweep_interval_minutes` | `int \| None` |


## Properties

- `refresh_on_read`
- `default_ttl`
- `sweep_interval_minutes`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/916025d2f6d9f6ddb2628bd248bc4f3db632d9a8/libs/checkpoint/langgraph/store/base/__init__.py#L545)