Hands-on task
This task is step 12 of the course “Databases in an evening: SQLite, PostgreSQL, Redis”
Redis: key with TTL
Create a Redis key session:1 with the value active and a time to live of exactly 300 seconds. The server is already running — work through redis-cli.
Reference:redis-cli
What you'll practise:
- redis
- redis-cli
- ttl
- set
- expire