Description
I am setting up a VPS where multiple instances of strapi will be run. These instances connects to a DigitalOcean postgre managed database.
I started about the the lowest tier for the managed database (1GB of RAM) which gives me small amount of concurrent connections (22) something I just learnt. While this still in the PoC phase and the servers will be bigger I found it odd that with a handful of no traffic strapi instances I was quickly getting errors out of postgre when running config-sync import
.
I wondered by and while looking at database activity I saw that one run of config-sync import
was creating several databases connections at the same time.
I'd assume this is not needed and whatever this is doing it can be done using 1 (or as fewer as possible) connections or at least to have the option to limit it if this is because things are done in parallel.
Any advice/comment is appreciated.