Skip to content

Commit

Permalink
Extend polling interval to 120 seconds to try to address apparent API…
Browse files Browse the repository at this point in the history
… rate limit issue #46.
  • Loading branch information
djtimca committed Sep 9, 2022
1 parent 9840a24 commit a73dc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/spacex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def async_setup(hass: HomeAssistant, config: dict):

async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
"""Set up SpaceX from a config entry."""
polling_interval = 25
polling_interval = 120
api = SpaceX()

try:
Expand Down

0 comments on commit a73dc51

Please sign in to comment.