mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
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:
parent
016a274698
commit
edddd6edfb
@ -46,7 +46,7 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
REQUEST_SCAN_COOLDOWN = 60 # 1 minute cooldown
|
REQUEST_SCAN_COOLDOWN = 10 # 10 second cooldown
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"async_is_plugged_in",
|
"async_is_plugged_in",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user