mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-21 14:37:49 +00:00
v9.13.0
This commit is contained in:
parent
7be35d783e
commit
b82eb6efd6
@ -1,3 +1,51 @@
|
||||
- commits:
|
||||
- subject: 'In /v1/update, return 202 when we''re not updating immediately'
|
||||
hash: 9961ebb41d37c14b18b2bf4545eefae343a2c026
|
||||
body: >
|
||||
We also add a catch to any errors when getting configuration, and send
|
||||
503 in this case, even if it's
|
||||
|
||||
unlikely.
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
|
||||
signed-off-by: Pablo Carranza Velez <pablo@balena.io>
|
||||
author: Pablo Carranza Velez
|
||||
- subject: >-
|
||||
Add a random jitter to target state polls, and a config var to ignore
|
||||
update notifications and not poll immediately after startup
|
||||
hash: 8f07bf62de4a509ac74380af8be42b2acf3c1b76
|
||||
body: >
|
||||
This commit does two related things:
|
||||
|
||||
|
||||
* We make the poll interval a random time between 0.5 and 1.5 times the
|
||||
configured interval.
|
||||
|
||||
* We introduce the BALENA_SUPERVISOR_INSTANT_UPDATE_TRIGGER
|
||||
configuration variable, that defaults to true. If this variable is set
|
||||
|
||||
to false, then calls to /v1/update are ignored, and on startup the
|
||||
supervisor waits for a poll interval before getting the target state.
|
||||
|
||||
|
||||
This will help especially on cases where there's a large number of
|
||||
devices on a single network. By disabling instant updates and setting a
|
||||
large
|
||||
|
||||
poll interval, we can now achieve a sitation where not all devices apply
|
||||
an update at the same time, which can help avoid
|
||||
|
||||
overwhelming the network.
|
||||
footer:
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
|
||||
signed-off-by: Pablo Carranza Velez <pablo@balena.io>
|
||||
author: Pablo Carranza Velez
|
||||
version: 9.13.0
|
||||
date: 2019-04-03T16:18:11.345Z
|
||||
- commits:
|
||||
- subject: Fix service comparison when starting a stopped service
|
||||
hash: 9a343316b21522e34a94a66f2391e63a96516114
|
||||
|
@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
|
||||
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## 9.13.0 - 2019-04-03
|
||||
|
||||
* In /v1/update, return 202 when we're not updating immediately [Pablo Carranza Velez]
|
||||
* Add a random jitter to target state polls, and a config var to ignore update notifications and not poll immediately after startup [Pablo Carranza Velez]
|
||||
|
||||
## 9.12.7 - 2019-04-03
|
||||
|
||||
* Fix service comparison when starting a stopped service [Cameron Diver]
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "balena-supervisor",
|
||||
"version": "9.12.7",
|
||||
"version": "9.13.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "balena-supervisor",
|
||||
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
|
||||
"version": "9.12.7",
|
||||
"version": "9.13.0",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user