<p style="white-space: pre-wrap; word-wrap: break-word;">I can't really make up my mind whether a general 'dynamic' setting for all timers will ever make sense. I imagine, if we have other dynamic timers, they will probably follow own semantics, and likely a simple on/off setting won't cut it. So if a dynamic timer ever needs more specific configuration, the scheme of having one command for all breaks? So maybe a '[no] paging-timeout-dynamic' would be simpler?</p><p style="white-space: pre-wrap; word-wrap: break-word;">I accept your decision though.</p><p>Patch set 3:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/11654">View Change</a></p><p>6 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/bsc_vty.c">File src/osmo-bsc/bsc_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/bsc_vty.c@3893">Patch Set #3, Line 3893:</a> <code style="font-family:monospace,monospace"> "Calculate T3113 dynamically based on channel config and load\n"</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">slightly weird: this looks like a general command, yet names T3113 specifically in the doc?</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  "Use dynamically calculated timer value. Timers currently supporting a dynamic setting are:"<br>  " T3113 based on channel config and load."</pre><p style="white-space: pre-wrap; word-wrap: break-word;">well ... ok if T3113 is currently the only one, just need to make sure to change it if more show up.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/bsc_vty.c@3903">Patch Set #3, Line 3903:</a> <code style="font-family:monospace,monospace">    if (d->T != 3113) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">similarly, might already structure this as a switch()... well whatever</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/bsc_vty.c@3916">Patch Set #3, Line 3916:</a> <code style="font-family:monospace,monospace">      "Calculate T3113 dynamically based on channel config and load\n"</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">with the preceding "no", it's ok to here write "Set given timer to non-dynamic and use the default or user provided fixed value". A conflict only arises if the same token at the same position has differing docs -- only one of them will survive in the online documentation.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/bsc_vty.c@3927">Patch Set #3, Line 3927:</a> <code style="font-family:monospace,monospace">                vty_out(vty, "T%d has no dynamic setting%s", d->T, VTY_NEWLINE);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">technically would be ok to ignore this, because setting a non-dynamic timer to non-dynamic is a no-op, right?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/paging.c">File src/osmo-bsc/paging.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/paging.c@270">Patch Set #3, Line 270:</a> <code style="font-family:monospace,monospace"> return 0;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(unrelated ws)</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11654/3/src/osmo-bsc/paging.c@290">Patch Set #3, Line 290:</a> <code style="font-family:monospace,monospace"></code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(one more blank line than usual)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11654">change 11654</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11654"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I4fb2969b690151415038631fb6ad059aa6835c7f </div>
<div style="display:none"> Gerrit-Change-Number: 11654 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 21 Nov 2018 13:48:41 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>