Hi, welcome to the forum!
Auto DJ creates a randomly chosen, continuous playing tracks list based on the criteria you give it. If you don't give it any specifics to narrow the selection, it will use any tracks from your library. Whatever length you give it, it will maintain that many upcoming tracks, and add more whenever the remaining (unplayed) tracks in the list is fewer than that number.