Log the number of tenants loaded by the fetcher
During initial setup it's useful to know if (and how many) billable tenants got loaded by the fetcher. Change-Id: Ib1fbfdde5535ff83f8a657b9542c117a882f802e
This commit is contained in:
parent
28b41c17e2
commit
4900e5d4ba
|
@ -383,8 +383,8 @@ class Orchestrator(cotyledon.Service):
|
|||
while True:
|
||||
self.tenants = self.fetcher.get_tenants()
|
||||
random.shuffle(self.tenants)
|
||||
LOG.info('[Worker: {w}] Tenants loaded for fetcher {f}'.format(
|
||||
w=self._worker_id, f=self.fetcher.name))
|
||||
LOG.info('[Worker: {w}] {n} tenants loaded for fetcher {f}'.format(
|
||||
w=self._worker_id, n=len(self.tenants), f=self.fetcher.name))
|
||||
|
||||
for tenant_id in self.tenants:
|
||||
|
||||
|
|
Loading…
Reference in New Issue