gnus-undo-limit

gnus-undo-limit is a variable defined in `gnus-undo.el'.
Its value is
2000


Documentation:
The number of undoable actions recorded.

You can customize this variable.