set_ttl
Set a Redis key's time to live in seconds to control expiration. Specify the key and TTL duration to automatically remove data after the defined period.
Instructions
Set time to live for a key
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Redis key to set TTL for | |
| ttl | Yes | Time to live in seconds |