Reduce USB rescan cooldown from 1 minute to 10 seconds (#135712)

* Reduce USB rescan cooldown from 1 minute to 1 second

* Increase cooldown to 10s as a middle ground
This commit is contained in:
puddly 2025-01-16 04:08:38 -05:00 committed by GitHub
parent 016a274698
commit edddd6edfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ if TYPE_CHECKING:
_LOGGER = logging.getLogger(__name__)
REQUEST_SCAN_COOLDOWN = 60 # 1 minute cooldown
REQUEST_SCAN_COOLDOWN = 10 # 10 second cooldown
__all__ = [
"async_is_plugged_in",