Sync the database by using RPC or HTTP API
JohnnyRacer opened this issue · 2 comments
JohnnyRacer commented
Hello, does there exist a way to call the sync operation over RPC or HTTP using an API call? It's a bit of a pain having to use cron
to update the databases periodically.
JohnnyRacer commented
I'm using the docker image so running the pgsync
command from my other containers is a bit inconvenient, if there's a workaround to this it would be much appreciated.
ankane commented
Hi @JohnnyRacer, you could create a service that wraps pgsync for this.