<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">YUKI Hiroshi &lt;shimo****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-04-10 18:38:21 +0900 (Fri, 10 Apr 2015)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277">c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Report progress based on interval seconds</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#diff-0">lib/droonga/data_absorber.rb</a></li>
          <li><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#diff-1">lib/droonga/plugins/system/absorb_data.rb</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/droonga/data_absorber.rb (+3 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L22">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L25">25</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L28">28</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L41">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L42">42</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L44">44</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L47">47</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L68">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L71">71</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0L74">74</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R22">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R25">25</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R29">29</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R42">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R45">45</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R49">49</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R70">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R73">73</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R76">76</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L0R77">77</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -23,6 +23,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     include Loggable</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     DEFAULT_MESSAGES_PER_SECOND = 100</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    DEFAULT_PROGRESS_INTERVAL_SECONDS = 3</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     TIME_UNKNOWN = -1</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     PROGRESS_UNKNOWN = -1</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -42,6 +43,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       @params = params</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">       @messages_per_second = @params[:messages_per_second] || DEFAULT_MESSAGES_PER_SECOND</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      @progress_interval_seconds = @params[:progress_interval_seconds] || DEFAULT_PROGRESS_INTERVAL_SECONDS</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">       @dataset = @params[:dataset] || CatalogGenerator::DEFAULT_DATASET</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       @port    = @params[:port]    || CatalogGenerator::DEFAULT_PORT</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -69,6 +71,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;tag&quot;     =&gt; @tag,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;dataset&quot; =&gt; @dataset,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           &quot;messagesPerSecond&quot; =&gt; @messages_per_second,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          &quot;progressIntervalSeconds&quot; =&gt; @progress_interval_seconds,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       destination_client.subscribe(absorb_message) do |message|</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/droonga/plugins/system/absorb_data.rb (+19 -4)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L27">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L30">30</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L33">33</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L60">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L63">63</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L65">65</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L70">70</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L71">71</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L72">72</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L75">75</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L101">101</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L105">105</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L134">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L137">137</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1L140">140</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R27">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R30">30</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R31">31</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R35">35</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R62">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R65">65</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R66">66</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R69">69</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R73">73</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R74">74</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R75">75</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R76">76</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R80">80</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R103">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R106">106</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R109">109</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R138">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R141">141</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R142">142</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R143">143</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R144">144</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R145">145</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R146">146</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R147">147</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R148">148</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R149">149</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R150">150</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R151">151</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/c64a1aee4cd0aae6b2e8e3552ee2d7bd6e5a6277#L1R155">155</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -28,6 +28,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         action.synchronous = true</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">         DEFAULT_MESSAGES_PER_SECOND = 100</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        DEFAULT_PROGRESS_INTERVAL_SECONDS = 3</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        MIN_PROGRESS_INTERVAL_SECONDS = 1</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">         class MissingHostParameter &lt; BadRequest</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           def initialize</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -61,15 +63,18 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">             serf = Serf.new(my_node_name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             serf.set_tag(&quot;absorbing&quot;, true)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            @start_time = Time.now</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             begin</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               @total_n_source_records = count_total_n_source_records</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-              @n_processed_messages = 0</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               dumper_error_message = dumper.run do |message|</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 @messenger.forward(message,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                    &quot;to&quot;   =&gt; my_node_name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                    &quot;type&quot; =&gt; message[&quot;type&quot;])</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                @n_processed_messages += 1</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                report_progress</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                elapsed_time = (Time.now - @start_time).to_i</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                if (elapsed_time % progress_interval_seconds).zero?</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                  report_progress</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                end</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               end</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               report_progress</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             rescue Exception =&gt; exception</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -99,7 +104,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">           def report_progress</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            return unless (@n_processed_messages % 100).zero?</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             forward(&quot;#{prefix}.progress&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                     &quot;nProcessedMessages&quot; =&gt; @n_processed_messages,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                     &quot;percentage&quot;         =&gt; progress_percentage,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -135,6 +139,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">             @messenger.engine_state.name</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          def prepare_progress_interval_seconds</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            interval_seconds = @request.request[&quot;progressIntervalSeconds&quot;]</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                                 || DEFAULT_PROGRESS_INTERVAL_SECONDS</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            interval_seconds = interval_seconds.to_i</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            [interval_seconds, MIN_PROGRESS_INTERVAL_SECONDS].max</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          def progress_interval_seconds</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            @progress_interval_seconds ||= prepare_progress_interval_seconds</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           def source_host</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             @source_host ||= @request.request[&quot;host&quot;]</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           end</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>