diff options
| author | 2021-01-10 00:11:16 +0100 | |
|---|---|---|
| committer | 2021-01-10 06:16:10 +0100 | |
| commit | 50bb3439824277991124b888d0b46c5936c2efce (patch) | |
| tree | fbf480a6e009c662eff22f729b3cab46568d2417 /tests/test_helpers.py | |
| parent | Stop 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/test_helpers.py')
0 files changed, 0 insertions, 0 deletions