mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-02 01:07:57 +00:00
Merge pull request #1867 from balena-os/delta-timeout
Increase delta request timeout to 59s to better align with our backends
This commit is contained in:
commit
18242c7b0a
@ -118,7 +118,7 @@ export const schemaTypes = {
|
||||
},
|
||||
deltaRequestTimeout: {
|
||||
type: PermissiveNumber,
|
||||
default: 30000,
|
||||
default: 59000,
|
||||
},
|
||||
deltaApplyTimeout: {
|
||||
type: PermissiveNumber,
|
||||
|
@ -148,7 +148,7 @@ const configKeys: Dictionary<ConfigOption> = {
|
||||
deltaRequestTimeout: {
|
||||
envVarName: 'SUPERVISOR_DELTA_REQUEST_TIMEOUT',
|
||||
varType: 'int',
|
||||
defaultValue: '30000',
|
||||
defaultValue: '59000',
|
||||
},
|
||||
deltaApplyTimeout: {
|
||||
envVarName: 'SUPERVISOR_DELTA_APPLY_TIMEOUT',
|
||||
|
@ -255,7 +255,7 @@ describe('Device Backend Config', () => {
|
||||
SUPERVISOR_CONNECTIVITY_CHECK: 'true',
|
||||
SUPERVISOR_LOG_CONTROL: 'true',
|
||||
SUPERVISOR_DELTA: 'false',
|
||||
SUPERVISOR_DELTA_REQUEST_TIMEOUT: '30000',
|
||||
SUPERVISOR_DELTA_REQUEST_TIMEOUT: '59000',
|
||||
SUPERVISOR_DELTA_APPLY_TIMEOUT: '0',
|
||||
SUPERVISOR_DELTA_RETRY_COUNT: '30',
|
||||
SUPERVISOR_DELTA_RETRY_INTERVAL: '10000',
|
||||
|
Loading…
x
Reference in New Issue
Block a user