Suspending a session
About this task
When a session is suspended, any running tasks are given a grace period
(suspendGracePeriod in the application profile) to finish. If they do not
finish before the grace period, the service instances, on which they are running, are terminated and
the tasks are re-queued and put into the pending state. No pending tasks are scheduled until the
session is resumed. Any tasks that were re-queued are rerun when the session resumes.
Note: In the
case where you suspend a task after the host has been reclaimed, the grace period defined in
suspendGracePeriod will be ignored, and the
reclaimGracePeriod will be used instead.