Skip to content
Snippets Groups Projects
Commit 5ee0039e authored by Toon Claes's avatar Toon Claes
Browse files

Handle Geo DB replication lag as 24h/day & 7d/week

Geo DB replication lag should be handled as 24h/day & 7d/week, instead
of the default 8h/day & 5d/week.

Closes #3298
parent 61e33265
No related branches found
No related tags found
1 merge request!2833Handle Geo DB replication lag as 24h/day & 7d/week
Pipeline #
Loading
Loading
@@ -40,7 +40,10 @@ class GeoNodeStatus {
 
// Replication lag can be nil if the secondary isn't actually streaming
if (status.db_replication_lag) {
const parsedTime = gl.utils.prettyTime.parseSeconds(status.db_replication_lag);
const parsedTime = gl.utils.prettyTime.parseSeconds(status.db_replication_lag, {
hoursPerDay: 24,
daysPerWeek: 7,
});
this.$dbReplicationLag.text(gl.utils.prettyTime.stringifyTime(parsedTime));
} else {
this.$dbReplicationLag.text('UNKNOWN');
Loading
Loading
---
title: Handle Geo DB replication lag as 24h/day & 7d/week
merge_request: 2833
author:
type: fixed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment