Skip to content

Commit 8a8b719

Browse files
authored
Merge pull request #8142 from Couchers-org/devops/stability-threshold
Reduce stability threshold from 15 to 5 minutes
2 parents f82a9ba + d9d2f31 commit 8a8b719

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/backend/src/couchers/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@
113113
COMPLETED_PROFILE_MINIMUM_CHAR_LENGTH = 150
114114

115115
# How long a container must run uninterrupted before /status reports stable=true
116-
STABLE_THRESHOLD_SECONDS = 15 * 60
116+
STABLE_THRESHOLD_SECONDS = 5 * 60

app/web/pages/version.json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { GetServerSideProps } from "next";
22

33
const startTime = Date.now();
4-
const STABLE_THRESHOLD_MS = 15 * 60 * 1000;
4+
const STABLE_THRESHOLD_MS = 5 * 60 * 1000;
55

66
export const getServerSideProps: GetServerSideProps = async ({ res }) => {
77
res.setHeader("Content-Type", "application/json");

0 commit comments

Comments
 (0)