Add expiry in the config #4.

Signed-off-by: crynobone <crynobone@gmail.com>