[Tile-serving] [osm2pgsql-dev/osm2pgsql] Significantly reduce number of db connection in flex output (PR #2134)

Ryan Lambert notifications at github.com
Sun Feb 4 22:16:11 UTC 2024


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. :+1:

I ran into an error when using `osm2pgsql-replication`. 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.

```
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
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2134#issuecomment-1925943483
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2134/c1925943483 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240204/910ef141/attachment.htm>


More information about the Tile-serving mailing list