add a TTL when putting configuration in etcd and refresh config regularly