diff --git a/config/config-docker.yml b/config/config-docker.yml index 74449a4..63f8d0d 100644 --- a/config/config-docker.yml +++ b/config/config-docker.yml @@ -15,6 +15,7 @@ bbn: poller: param-polling-interval: 60s expiry-checker-polling-interval: 10s + expired-delegations-limit: 100 queue: queue_user: user # can be replaced by values in .env file queue_password: password diff --git a/config/config-local.yml b/config/config-local.yml index 468cf6a..001ecb3 100644 --- a/config/config-local.yml +++ b/config/config-local.yml @@ -15,6 +15,7 @@ bbn: poller: param-polling-interval: 10s expiry-checker-polling-interval: 10s + expired-delegations-limit: 100 queue: queue_user: user # can be replaced by values in .env file queue_password: password diff --git a/internal/db/model/setup.go b/internal/db/model/setup.go index 49bcfd3..a38e707 100644 --- a/internal/db/model/setup.go +++ b/internal/db/model/setup.go @@ -28,6 +28,7 @@ type index struct { var collections = map[string][]index{ FinalityProviderDetailsCollection: {{Indexes: map[string]int{}}}, BTCDelegationDetailsCollection: {{Indexes: map[string]int{}}}, + TimeLockCollection: {{Indexes: map[string]int{}}}, GlobalParamsCollection: {{Indexes: map[string]int{}}}, }