How to repeat to set length or longest track and cut off afterwords in audacity 3.1.2

Hello, I’m trying to make an audio track to sleep to and I have many tracks of varying lengths and the longest track is 10 hours, is there anyway I could have all the other tracks in my audio repeat to and cut off at that length?

Apply the “Repeat” effect to the shorter tracks.