• 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
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...