In this Sunday, Sept. 29, 2019 file photo, Boston Red Sox's Eduardo Rodriguez pitches during the first inning of a baseball game against the Baltimore Orioles in Boston. Credit: Michael Dwyer / AP

BOSTON — The Red Sox and left-hander Eduardo Rodriguez have avoided arbitration by agreeing to a one-year deal worth $8.3 million.

The agreement was announced Tuesday, a day before the deadline to offer contracts to unsigned players on 40-man rosters.

Rodriguez’s agent, Gustavo Marcano, confirmed the agreement via Twitter.

Rodriguez missed all of last season because of heart inflammation caused by COVID-19.

The 27-year-old was a career-best 19-6 in 2019 with a 3.81 ERA and was on track to be the opening day starter with Chris Sale rehabbing from Tommy John surgery.

Rodríguez returned on July 18, but the team said five later that an MRI revealed an issue that turned out to be the heart condition.

He is eligible for free agency following the 2020 season.