kMaxOffset constant
Maximum offset by which to clamp relative priorities.
It is still possible to have priorities that are offset by more than this amount by repeatedly taking relative offsets, but that is generally discouraged.
Implementation
static const int kMaxOffset = 10000;