Class SlowRequestChecker

    • Field Detail

      • RECURRENCE_PERIOD_SEC

        public static final int RECURRENCE_PERIOD_SEC
        How often to run the slow request checker
        Since:
        2.12
      • THRESHOLD

        public static final int THRESHOLD
        Time in milliseconds that's considered too slow for requests. Starting with a bit conservative value to catch serious offenders first. If this value is less than twice RECURRENCE_PERIOD_SEC then that will be used instead.
      • DISABLED

        public static volatile boolean DISABLED
        Provide a means to disable the slow request checker. This is a volatile non-final field as if you run into issues in a running Jenkins you may need to disable without restarting Jenkins.
        Since:
        2.12
    • Constructor Detail

      • SlowRequestChecker

        public SlowRequestChecker()