From c46caaba32fe0367eabc5f448205edb13f433acb Mon Sep 17 00:00:00 2001
From: groundhog2k <10630407+groundhog2k@users.noreply.github.com>
Date: Tue, 24 Nov 2020 18:43:10 +0100
Subject: [PATCH] Fixed db update delay (#77)

---
 charts/nextcloud/Chart.yaml  | 2 +-
 charts/nextcloud/README.md   | 4 ++--
 charts/nextcloud/values.yaml | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml
index e2ee5e38..b2ea9f34 100644
--- a/charts/nextcloud/Chart.yaml
+++ b/charts/nextcloud/Chart.yaml
@@ -8,7 +8,7 @@ maintainers:
   - name: groundhog2k
 
 # This is the chart version.
-version: 0.2.3
+version: 0.2.4
 
 # This is the version number of the application being deployed.
 appVersion: "20.0.2-apache"
diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md
index 9c083b04..d29bcb4b 100644
--- a/charts/nextcloud/README.md
+++ b/charts/nextcloud/README.md
@@ -1,6 +1,6 @@
 #  Nextcloud
 
-![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.0.2-apache](https://img.shields.io/badge/AppVersion-20.0.2-informational?style=flat-square)
+![Version: 0.2.4](https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.0.2-apache](https://img.shields.io/badge/AppVersion-20.0.2-informational?style=flat-square)
 
 A Helm chart for Nextcloud on Kubernetes
 
@@ -161,7 +161,7 @@ $ helm uninstall my-release
 | settings.admin.name | string | `nil` | Nextcloud administrator user |
 | settings.admin.password | string | `nil` | Nextcloud admin user password |
 | settings.update | bool | `false` | Enable update |
-| settings.databaseUpdateDelay | int | `30` | Delay for database update after nextcloud upgrade |
+| settings.databaseUpdateDelay | int | `120` | Delay for database update after nextcloud upgrade |
 | settings.maxFileUploadSize | string | `64M` | Maximum file upload size |
 | settings.memoryLimit | string | `512M` | PHP memory limit |
 | settings.disableRewriteIP | bool | `false` | Disable rewriting IP address |
diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml
index badd1eae..dea02936 100644
--- a/charts/nextcloud/values.yaml
+++ b/charts/nextcloud/values.yaml
@@ -172,8 +172,8 @@ externalCache:
 settings:
   ## Enable update processing (default: false - set to true when "helm upgrade .." is used)
   update: false
-  ## Delay before database update steps are initiated (default: 30 seconds)
-  databaseUpdateDelay: 480
+  ## Delay before database update steps are initiated (default: 120 seconds)
+  databaseUpdateDelay: 120
   ## Maximum file upload size (default: 64M)
   maxFileUploadSize: 64M
   ## PHP memory limit (default: 512M)
-- 
GitLab