use time.Duration instead of int to specify HIT_LIFETIME