Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-8447

Treat server being down as client being offline

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 2.0.0-alpha
    • None

      Possible approach: when there is a new mutation and the queue is open (online) and empty, then forward that mutation. If mutation fails with network error (server unreachable), enqueue this mutation and try to forward it again. When mutation is done, try to forward next mutation in queue. Mutation is done when it succeeds or fails with graphql error. If it fails with network error, it is retried. When queue is closed, mutation that is currently being retried should be canceled.

        1. links.jpg
          links.jpg
          4.02 MB
        2. offlineLink.jpg
          offlineLink.jpg
          4.13 MB
        3. queueLink.jpg
          queueLink.jpg
          4.14 MB
        4. retryLink.jpg
          retryLink.jpg
          3.95 MB

              Unassigned Unassigned
              jhellar@redhat.com Jan Hellar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: