Skip to content

Commit

Permalink
Merge pull request #1989 from w3f/will-cron-constants
Browse files Browse the repository at this point in the history
bump version to v2.6.57
  • Loading branch information
wpank authored Sep 27, 2022
2 parents 425d9d8 + 7d26810 commit 6931c08
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/otv-backend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description: 1K Validators Backend
name: otv-backend
version: v2.6.56
version: v2.6.57
apiVersion: v2
2 changes: 1 addition & 1 deletion charts/otv-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resources:

image:
repo: web3f/otv-backend
tag: v2.6.56
tag: v2.6.57

certificate:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions helmfile.d/10-otv-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ releases:
namespace: kusama
{{ if eq .Environment.Name "production" }}
chart: w3f/otv-backend
version: v2.6.56
version: v2.6.57
{{ else }}
chart: ../charts/otv-backend
{{ end }}
Expand All @@ -27,7 +27,7 @@ releases:
namespace: polkadot
{{ if eq .Environment.Name "production" }}
chart: w3f/otv-backend
version: v2.6.56
version: v2.6.57
{{ else }}
chart: ../charts/otv-backend
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion helmfile.d/config/kusama/otv-backend-prod.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ domain: kusama.w3f.community

resources:
limits:
cpu: 2000m
cpu: 2500m
memory: 8Gi
requests:
cpu: 700m
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "1k-validators-be",
"version": "2.6.56",
"version": "2.6.57",
"description": "Services for running the Thousand Validator Program.",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const STALE_CRON = "0 0-59/45 * * * *";
export const SCORE_CRON = "0 0-59/5 * * * *";

// Era Stats Cron Job. This runs every 5 minutes by default
export const ERA_STATS_CRON = "0 0-59/5 * * * *";
export const ERA_STATS_CRON = "0 0-59/35 * * * *";

// Location Stats Cron Job. This runs every 5 minutes by default
export const LOCATION_STATS_CRON = "0 0-59/5 * * * *";
Expand All @@ -142,16 +142,16 @@ export const VALIDATOR_PREF_CRON = "0 0-59/15 * * * *";
export const SESSION_KEY_CRON = "0 0-59/45 * * * *";

// Council Cron Job. This runs ever 15 minutes by default
export const COUNCIL_CRON = "0 0-59/15 * * * *";
export const COUNCIL_CRON = "0 0-59/25 * * * *";

// Subscan Cron Job. This runs ever 10 minutes by default
export const SUBSCAN_CRON = "0 0-59/10 * * * *";

// Democracy Cron Job. This runs ever 15 minutes by default
export const DEMOCRACY_CRON = "0 0-59/15 * * * *";
export const DEMOCRACY_CRON = "0 0-59/12 * * * *";

// Nominator Cron Job. This runs ever 15 minutes by default
export const NOMINATOR_CRON = "0 0-59/15 * * * *";
export const NOMINATOR_CRON = "0 0-59/17 * * * *";

// Delegation Cron Job. This runs ever 20 minutes by default
export const DELEGATION_CRON = "0 0-59/20 * * * *";
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { startClearAccumulatedOfflineTimeJob, startMonitorJob } from "./cron";

const isCI = process.env.CI;

const version = "v2.6.56";
const version = "v2.6.57";

const catchAndQuit = async (fn: any) => {
try {
Expand Down

0 comments on commit 6931c08

Please sign in to comment.