Move the redis_url to the state.