Skip to content

Commit

Permalink
🐛 cycle was not taken from the config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mips2648 committed May 16, 2024
1 parent c4c4eec commit 98a56fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jeedomdaemon/base_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ async def __run(self):
self._loop = asyncio.get_running_loop()
self.__listen_task = Listener.create_listen_task(self._config.socket_host, self._config.socket_port, self.__on_socket_message)

async with Publisher(self._config.callback_url, self._config.api_key) as self._publisher:
# self._jeedom_publisher = Publisher(self._config.callback_url, self._config.api_key)
async with Publisher(self._config.callback_url, self._config.api_key, self._config.cycle) as self._publisher:
if not await self._publisher.test_callback():
return

Expand Down

0 comments on commit 98a56fa

Please sign in to comment.