mirror of https://github.com/zulip/zulip.git
queue_processors: Fix retry_send_email_failures type.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
70aa9903b9
commit
454144c35f
|
@ -152,7 +152,7 @@ def check_and_send_restart_signal() -> None:
|
|||
|
||||
def retry_send_email_failures(
|
||||
func: Callable[[ConcreteQueueWorker, Dict[str, Any]], None],
|
||||
) -> Callable[['QueueProcessingWorker', Dict[str, Any]], None]:
|
||||
) -> Callable[[ConcreteQueueWorker, Dict[str, Any]], None]:
|
||||
|
||||
@wraps(func)
|
||||
def wrapper(worker: ConcreteQueueWorker, data: Dict[str, Any]) -> None:
|
||||
|
|
Loading…
Reference in New Issue