• Robert Knight's avatar
    Import multiple annotations concurrently · 23dffed3
    Robert Knight authored
    Speed up large imports by allowing up to 5 imports to be in-flight concurrently.
    The simplest approach to this would be to divide the annotations into batches
    and save one at a time. However due to the variability in the time that an
    individual import can take, this can lead to sub-optimal concurrency. Instead
    structure the code so that we try to always keep `MAX_CONCURRENT_IMPORTS`
    imports in flight at once, as long as there are that many remaining.
    
    Fixes https://github.com/hypothesis/client/issues/5739
    23dffed3
Name
Last commit
Last update
..
components Loading commit data...
config Loading commit data...
helpers Loading commit data...
services Loading commit data...
store Loading commit data...
test Loading commit data...
util Loading commit data...
cross-origin-rpc.ts Loading commit data...
index.tsx Loading commit data...
markdown-commands.ts Loading commit data...
media-embedder.ts Loading commit data...
render-markdown.ts Loading commit data...
search-client.ts Loading commit data...
service-context.tsx Loading commit data...
websocket.ts Loading commit data...