Project

General

Profile

Actions

Feature #20475

closed

dump request queue every 5 minutes when at 90% busy

Added by Peter Amstutz over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Story points:
-
Release relationship:
Auto

Description

When the request queue of a Go service is over 90% busy, it should dump a list of outstanding requests to a file named something like:

<service>-request-queue.json

It should do this once per minute as long as the queue is over 90% busy.

This is enabled by a new configuration option that tells the services where to put their request queue files. The directory must be writable. If no value is set, don't do anything. If the directory does not exist or is not writable, log an (warning|error).


Subtasks 1 (0 open1 closed)

Task #20476: Review 20475-dump-busy-queueResolvedPeter Amstutz05/03/2023Actions
Actions

Also available in: Atom PDF