gnus-refer-thread-limit

gnus-refer-thread-limit is a variable defined in `gnus-sum.el'.
Its value is
500


Documentation:
*The number of old headers to fetch when doing A T.
If t, fetch all the available old headers.

You can customize this variable.