Skip to content

Commit a45d8e3

Browse files
committed
Thread changes
Signed-off-by: chandr-andr (Kiselev Aleksandr) <askiselev00@gmail.com>
1 parent 3b9dc64 commit a45d8e3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

taskiq_nats/broker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,13 @@ def __init__( # noqa: WPS211 (too many args)
112112
stream_name: str = "taskiq_jetstream",
113113
queue: typing.Optional[str] = None,
114114
durable: str = "taskiq_durable",
115-
result_backend: typing.Optional[AsyncResultBackend[_T]] = None,
116-
task_id_generator: typing.Optional[typing.Callable[[], str]] = None,
117115
stream_config: typing.Optional[StreamConfig] = None,
118116
consumer_config: typing.Optional[ConsumerConfig] = None,
119117
pull_consume_batch: int = 1,
120118
pull_consume_timeout: typing.Optional[float] = None,
121119
**connection_kwargs: typing.Any,
122120
) -> None:
123-
super().__init__(result_backend, task_id_generator)
121+
super().__init__()
124122
self.servers: typing.Final = servers
125123
self.client: typing.Final = Client()
126124
self.connection_kwargs: typing.Final = connection_kwargs

0 commit comments

Comments
 (0)