mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 17:22:58 +01:00
🚑 Increase timeout time for new backup #17
This commit is contained in:
parent
5fc7102988
commit
0a613895aa
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Nextcloud Backup",
|
"name": "Nextcloud Backup",
|
||||||
"version": "0.7.7",
|
"version": "0.7.8",
|
||||||
"slug": "nextcloud_backup",
|
"slug": "nextcloud_backup",
|
||||||
"description": "Hass.io snapshot backup to Nextcloud",
|
"description": "Hass.io snapshot backup to Nextcloud",
|
||||||
"url": "https://github.com/Sebclem/hassio-nextcloud-backup",
|
"url": "https://github.com/Sebclem/hassio-nextcloud-backup",
|
||||||
@ -11,6 +11,7 @@
|
|||||||
"panel_title": "NC Backup",
|
"panel_title": "NC Backup",
|
||||||
"panel_admin": true,
|
"panel_admin": true,
|
||||||
"startup": "application",
|
"startup": "application",
|
||||||
|
"stage": "experimental",
|
||||||
"arch": [
|
"arch": [
|
||||||
"aarch64",
|
"aarch64",
|
||||||
"amd64",
|
"amd64",
|
||||||
|
@ -167,7 +167,7 @@ function createNewBackup(name) {
|
|||||||
headers: { 'X-HASSIO-KEY': token },
|
headers: { 'X-HASSIO-KEY': token },
|
||||||
json: true,
|
json: true,
|
||||||
body: { name: name },
|
body: { name: name },
|
||||||
timeout: 1200000
|
timeout: 2400000
|
||||||
}
|
}
|
||||||
request.post(option, (error, response, body) => {
|
request.post(option, (error, response, body) => {
|
||||||
if (response.statusCode !== 200) {
|
if (response.statusCode !== 200) {
|
||||||
|
Loading…
Reference in New Issue
Block a user