diff --git a/redis/client.py b/redis/client.py index b526d7787b..cb91c7a088 100755 --- a/redis/client.py +++ b/redis/client.py @@ -1100,7 +1100,7 @@ def handle_message(self, response, ignore_subscribe_messages=False): def run_in_thread( self, - sleep_time: int = 0, + sleep_time: float = 0.0, daemon: bool = False, exception_handler: Optional[Callable] = None, ) -> "PubSubWorkerThread":