<p></p>
<p dir="auto">This works well in the initial load.  Before the patch I get 41 idle connections on my default load, this change drops it to 3 idle. 👍</p>
<p dir="auto">I ran into an error when using <code class="notranslate">osm2pgsql-replication</code>. I haven't dug any further than this error message yet.  All I changed in my project was cloning a different repo/branch. I can get the exact commands involved if needed for testing on your end.</p>
<pre class="notranslate"><code class="notranslate">2024-02-04 14:35:22  ERROR: --database: At Most 1 required but received 2
Traceback (most recent call last):
File "/usr/local/bin/osm2pgsql-replication", line 724, in <module>
sys.exit(main())
File "/usr/local/bin/osm2pgsql-replication", line 716, in main
return args.handler(props, args)
File "/usr/local/bin/osm2pgsql-replication", line 552, in update
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2134#issuecomment-1925943483">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353RJCLDP2LS6ZEOT2GTYSACCXAVCNFSM6AAAAABCY4273OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVHE2DGNBYGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353UBDOL5ON6KOAYAXNLYSACCXA5CNFSM6AAAAABCY4273OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTSZOILW.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/pull/2134/c1925943483</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2134#issuecomment-1925943483",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2134#issuecomment-1925943483",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>