api icon indicating copy to clipboard operation
api copied to clipboard

[FEATURE]: Granular sync error handling

Open dealloc opened this issue 6 months ago • 1 comments

What problem does it solve

Currently when the sync fails, regardless of which part, it will block the entire API and potentially bringing it down.

What is the solution

Make "buckets" of sync and allow parts of the API to fail without bringing down the entirety of the API. Some API parts need to be synced together (think WarStatus and WarInfo) but other parts can fail independently of the rest of the API.

Currently the lock is set on the entire sync, ideally we'd split this in related buckets.

Existing alternatives

Currently the entire API works or fails.

Added value

This would only bring down parts of the API where sync fails rather than the entirety of the API.

Additional notes

n/a

dealloc avatar Jul 24 '25 15:07 dealloc

this would minimize the impact of regressions such as #145 (see #144)

dealloc avatar Jul 24 '25 15:07 dealloc