aboutsummaryrefslogtreecommitdiffstats
path: root/tests/_autospec.py
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-01-10 00:11:16 +0100
committerGravatar Numerlor <[email protected]>2021-01-10 06:16:10 +0100
commit50bb3439824277991124b888d0b46c5936c2efce (patch)
treefbf480a6e009c662eff22f729b3cab46568d2417 /tests/_autospec.py
parentStop scheduled and long running tasks on cog unload (diff)
Handle equal DocItems in the queue
This could be handled by using sets to hold the items in _page_symbols, but ultimately the check has a much smaller cost than having thousands of sets for the urls. Because we create futures for every item that ends up in the queue we can also skip the .get is None check and instead fetch the future directly from the dict
Diffstat (limited to 'tests/_autospec.py')
0 files changed, 0 insertions, 0 deletions