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

Add a circuit-breaker #7

@fstamour

Description

@fstamour

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions