You can set the value of a GR Restarter timer, that is, the Neighbor-liveness timer.
Perform the following steps on the GR restarter:
Modifying the values of LDP GR timers may lead to reestablishment of LDP sessions.
system-view
mpls ldp
graceful-restart timer neighbor-liveness time
The default value is 600 seconds.