Skip to content

Commit

Permalink
fix: pass _name to queue
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Apr 23, 2024
1 parent 1a76603 commit 1511529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def _init_loader(self) -> "asyncio.Task[None]":
@functools.cached_property
def _queue(self) -> ProcessingQueue:
fn = functools.partial(self._wrapped_func, **self._wrapped_func_kwargs)
return ProcessingQueue(fn, self.concurrency)
return ProcessingQueue(fn, self.concurrency, name=self._name)

def _if_pop_check_destroyed(self, pop: bool) -> None:
if pop:
Expand Down

0 comments on commit 1511529

Please sign in to comment.