Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Avoid unneeded work when multiple API syncs are requested #31

@mcpherrinm

Description

@mcpherrinm

If two API requests come in to sync at the same time, we shouldn't sync twice. This is made a bit easier because we serialize syncs on a lock.

I'm thinking we do something like have a request queue, and new requests can be merged into pending ones if they're overlapping.

This is probably a pretty minor optimization but may increase complexity a lot. Not 100% sure it's worth it (at least not yet)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions