Github user manuzhang commented on a diff in the pull request:

    https://github.com/apache/incubator-gearpump/pull/4#discussion_r61193815
  
    --- Diff: daemon/src/main/scala/io/gearpump/cluster/worker/Worker.scala ---
    @@ -361,12 +363,19 @@ private[cluster] object Worker {
             // Falls back to workerConfig
             .withFallback(workerConfig)
     
    +      // Minimum supported akka.scheduler.tick-duration on Windows is 10ms
    +      val duration = config.getInt(Constants.AKKA_SCHEDULER_TICK_DURATION)
    +      val updatedConf = if (akka.util.Helpers.isWindows && duration < 10) {
    +        LOG.warn(s"akka.scheduler.tick-duration on Windows must be larger 
than 10ms, set to 10ms")
    --- End diff --
    
    better use `Constants.AKKA_SCHEDULER_TICK_DURATION` in the LOG.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to