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

Add a circuit-breaker #7

Open
4 tasks
fstamour opened this issue Nov 24, 2022 · 1 comment
Open
4 tasks

Add a circuit-breaker #7

fstamour opened this issue Nov 24, 2022 · 1 comment

Comments

@fstamour
Copy link
Owner

Description

I lost internet connection for a moment, but local-gitlab kept periodically trying to fetch information from GitLab. And I had slime connected to it, so I had many debugger (automatically) opened in Emacs.

Acceptance Criteria

  • When GitLab's domain name cannot be resolved, don't invoke the debugger (e.g. add a handler-case)
  • When multiple errors happen one after the other, when making requests to GitLab. The local-gitlab should stop making new requests for a while, only making a request from time to time in order to verify if the system recovered.
  • (Optional) Show a message in the WebUI when the service is degraded. (But keep showing the data)
  • In the WebUI, show the last update time
@fstamour
Copy link
Owner Author

Here, it happened again:

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant