🚑 Increase timeout time for new backup #17

This commit is contained in:
Sebastien Clement 2020-07-02 09:57:51 +02:00
parent 5fc7102988
commit 0a613895aa
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "Nextcloud Backup",
"version": "0.7.7",
"version": "0.7.8",
"slug": "nextcloud_backup",
"description": "Hass.io snapshot backup to Nextcloud",
"url": "https://github.com/Sebclem/hassio-nextcloud-backup",
@ -11,6 +11,7 @@
"panel_title": "NC Backup",
"panel_admin": true,
"startup": "application",
"stage": "experimental",
"arch": [
"aarch64",
"amd64",

View File

@ -167,7 +167,7 @@ function createNewBackup(name) {
headers: { 'X-HASSIO-KEY': token },
json: true,
body: { name: name },
timeout: 1200000
timeout: 2400000
}
request.post(option, (error, response, body) => {
if (response.statusCode !== 200) {