You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2022/05/26 09:21:05 UTC

[openwhisk] branch master updated: Add missing configuration for scheduler (data-management-service.retry-interval) (#5235)

This is an automated email from the ASF dual-hosted git repository.

style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 6731f1c99 Add missing configuration for scheduler (data-management-service.retry-interval) (#5235)
6731f1c99 is described below

commit 6731f1c996b8ea5e913d8bc81ceb7de87e4e8c02
Author: Seonghyun Oh <se...@gmail.com>
AuthorDate: Thu May 26 18:20:59 2022 +0900

    Add missing configuration for scheduler (data-management-service.retry-interval) (#5235)
---
 core/scheduler/src/main/resources/application.conf | 3 +++
 tests/src/test/resources/application.conf.j2       | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/core/scheduler/src/main/resources/application.conf b/core/scheduler/src/main/resources/application.conf
index 66c07fc67..860b6e0ff 100644
--- a/core/scheduler/src/main/resources/application.conf
+++ b/core/scheduler/src/main/resources/application.conf
@@ -80,5 +80,8 @@ whisk {
     }
     max-peek = "128"
     in-progress-job-retention = "20 seconds"
+    data-management-service {
+        retry-interval = "1 second"
+    }
   }
 }
diff --git a/tests/src/test/resources/application.conf.j2 b/tests/src/test/resources/application.conf.j2
index ed0eddecd..0ec5f839f 100644
--- a/tests/src/test/resources/application.conf.j2
+++ b/tests/src/test/resources/application.conf.j2
@@ -161,6 +161,9 @@ whisk {
         }
         max-peek = "{{ scheduler.maxPeek }}"
         in-progress-job-retention = "{{ scheduler.inProgressJobRetention | default('20 seconds') }}"
+        data-management-service {
+            retry-interval = "{{ scheduler.dataManagementService.retryInterval | default('1 second') }}"
+        }
     }
 }