add: clear cakes in case of too many of them.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>