You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by sa...@apache.org on 2018/10/28 03:44:17 UTC

[pulsar] branch master updated: Update WorkerConfig.java (#2870)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d9e7c92  Update WorkerConfig.java (#2870)
d9e7c92 is described below

commit d9e7c926174dba151fcc4a539f83648ba3e78e18
Author: Boyang Jerry Peng <je...@gmail.com>
AuthorDate: Sat Oct 27 20:44:12 2018 -0700

    Update WorkerConfig.java (#2870)
---
 .../main/java/org/apache/pulsar/functions/worker/WorkerConfig.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java b/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java
index 587f311..40ae567 100644
--- a/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java
+++ b/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java
@@ -143,7 +143,7 @@ public class WorkerConfig implements Serializable, PulsarConfiguration {
         private String pythonDependencyRepository;
         private String pythonExtraDependencyRepository;
         private Map<String, String> customLabels;
-        private Integer expectedMetricsCollectionInterval;
+        private Integer expectedMetricsCollectionInterval = 30;
         // Kubernetes Runtime will periodically checkback on
         // this configMap if defined and if there are any changes
         // to the kubernetes specific stuff, we apply those changes
@@ -199,4 +199,4 @@ public class WorkerConfig implements Serializable, PulsarConfiguration {
     public void setProperties(Properties properties) {
         this.properties = properties;
     }
-}
\ No newline at end of file
+}