Add debug log for polling
This commit is contained in:
parent
1f58c4b15f
commit
b79a6b9494
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ class SpaceapiBot(Plugin):
|
||||||
async with aiohttp.ClientSession(read_timeout=15, conn_timeout=5) as http:
|
async with aiohttp.ClientSession(read_timeout=15, conn_timeout=5) as http:
|
||||||
while True:
|
while True:
|
||||||
await asyncio.sleep(self.config['poll'].get('interval', 60))
|
await asyncio.sleep(self.config['poll'].get('interval', 60))
|
||||||
|
self.log.debug('Polling SpaceAPI endpoint')
|
||||||
try:
|
try:
|
||||||
state, changed = await self.update_spaceapi_status(http)
|
state, changed = await self.update_spaceapi_status(http)
|
||||||
if changed:
|
if changed:
|
||||||
|
|
Loading…
Reference in a new issue