The scheduler monitors running jobs to make sure they are not hung. If the status of a running job does not change after a duration (the interruptThreshold in the scheduler), the scheduler kills the job. This change passes the scheduler's interruptThreshold to the job when it calls Run() on the job.
Boundary list pagination logic
This package encapsulates the logic used to attempt to fill every page in a request to a Boundary list endpoint. For example use, see example_test.go.