greenelab / word-lapse

Explore how a word changes over time
https://greenelab.github.io/word-lapse/
Other
6 stars 3 forks source link

Wait on existing queries rather than relaunching #20

Closed falquaddoomi closed 2 years ago

falquaddoomi commented 2 years ago

Came from discussion in issue #19. If a user queries for a term, then queries for it again, it will launch two parallel jobs querying for the same token. Instead, the API should first check if there's an existing job that's querying for the given token and, if so, wait for that job rather than launching a new one.

falquaddoomi commented 2 years ago

Addressed in #15, commit ea8977e446a381d492881c144963a41888498afe.

falquaddoomi commented 2 years ago

Closed by merging #15 .