[tor-commits] [snowflake/main] Refactor checkForStaleness to take time.Duration