Feat: allow polling of multiple db schemas

This commit is contained in:
csrapr 2021-07-09 11:22:42 +01:00 committed by Sérgio Salgado
parent 5a44216547
commit 4ce4a32502
4 changed files with 129 additions and 32 deletions

View file

@ -64,8 +64,7 @@ function loadSanctions (settings) {
function startServer (settings) {
return Promise.resolve()
.then(() => {
poller.start(settings)
poller.setup(['public'])
const httpsServerOptions = {
key: fs.readFileSync(options.keyPath),
cert: fs.readFileSync(options.certPath),