<p></p>
<p dir="auto">Hi, my only comment is that when the nats server is down and kamailio is started, those 2 logs appear:</p>
<pre><code>Nov 19 12:32:53 LXBU-GRPF8S2 kamailio: ERROR: nats [nats_mod.c:123]: nats_consumer_worker_proc(): could not connect to nats servers [Not Yet Connected]
Nov 19 12:32:53 LXBU-GRPF8S2 kamailio: INFO: nats [nats_mod.c:159]: nats_consumer_worker_proc(): nats queue group worker connected to subject [foo] queue group [2020]
</code></pre>
<p dir="auto">So maybe 2'nd log should be logged only when server is up. Otherwise, looks good to me.</p>
<p dir="auto">Thanks,<br>
Stefan</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2934#issuecomment-973952802">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZN4KJVQXMBM3CAHICTUMYR65ANCNFSM5IAKIL4Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZKPK5F3SJFURAGDRDLUMYR65A5CNFSM5IAKIL42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHIGVOIQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2934#issuecomment-973952802",
"url": "https://github.com/kamailio/kamailio/pull/2934#issuecomment-973952802",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>