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

[GitHub] srkukarni closed pull request #2870: Set default for expectedMetricsCollectionInterval

srkukarni closed pull request #2870: Set default for expectedMetricsCollectionInterval
URL: https://github.com/apache/pulsar/pull/2870
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 587f3117bf..40ae567767 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 @@
         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 static String unsafeLocalhostResolve() {
     public void setProperties(Properties properties) {
         this.properties = properties;
     }
-}
\ No newline at end of file
+}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services