<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13283">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">openvpn: Set reconnect timeout to a much lower value<br><br>It's a connection towards localhost, so it doesn't hurt reconnecting in<br>a timely fashion, otherwise upon openvpn restart user needed to wait for<br>1 minute to see changes.<br><br>Change-Id: Ie9638120d1ce5bfa43bc7c15f05cf81de37624c5<br>---<br>M src/osysmon_openvpn.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sysmon refs/changes/83/13283/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osysmon_openvpn.c b/src/osysmon_openvpn.c</span><br><span>index 8c95984..d9e38f0 100644</span><br><span>--- a/src/osysmon_openvpn.c</span><br><span>+++ b/src/osysmon_openvpn.c</span><br><span>@@ -185,7 +185,7 @@</span><br><span>    }</span><br><span> </span><br><span>        /* Wait for 1 minute before attempting to reconnect to management interface */</span><br><span style="color: hsl(0, 100%, 40%);">-  osmo_stream_cli_set_reconnect_timeout(vpn->mgmt, 60);</span><br><span style="color: hsl(120, 100%, 40%);">+      osmo_stream_cli_set_reconnect_timeout(vpn->mgmt, 5);</span><br><span>      osmo_stream_cli_set_read_cb(vpn->mgmt, read_cb);</span><br><span>  osmo_stream_cli_set_connect_cb(vpn->mgmt, connect_cb);</span><br><span>    osmo_stream_cli_set_disconnect_cb(vpn->mgmt, disconnect_cb);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13283">change 13283</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/13283"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sysmon </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie9638120d1ce5bfa43bc7c15f05cf81de37624c5 </div>
<div style="display:none"> Gerrit-Change-Number: 13283 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>