As an Xray administrator, you can configure the threshold for archiving Test Runs. Check Test Run Archiving for additional information relative to how the test runs are archived.
The threshold can have a value between 1 day and 2 years, to select the desired value either use the slider or click on one of the dates that appear below the slider.