Skip to content

Commit

Permalink
Merge pull request #303 from lidofinance/feat/increase-update-timeout
Browse files Browse the repository at this point in the history
fix: increase update timeout
  • Loading branch information
eddort authored Oct 8, 2024
2 parents b2133fa + b6a20ff commit 1a72fc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lido-keys-api",
"version": "2.1.0",
"version": "2.2.0",
"description": "Lido Node Operators keys service",
"author": "Lido team",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions src/jobs/keys-update/keys-update.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export class KeysUpdateService {
// Name of interval for updating keys
public UPDATE_KEYS_JOB_NAME = 'SRModulesKeysUpdate';
// Timeout for update keys
// If during 30 minutes nothing happen we will exit
UPDATE_KEYS_TIMEOUT_MS = 30 * 60 * 1000; // 30 minutes
// If during 60 minutes nothing happen we will exit
UPDATE_KEYS_TIMEOUT_MS = 60 * 60 * 1000; // 60 minutes
updateDeadlineTimer: undefined | NodeJS.Timeout = undefined;

/**
Expand Down

0 comments on commit 1a72fc2

Please sign in to comment.