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. queueLink.jpg
          4.14 MB
          Jan Hellar
        2. links.jpg
          4.02 MB
          Jan Hellar
        3. offlineLink.jpg
          4.13 MB
          Jan Hellar
        4. retryLink.jpg
          3.95 MB
          Jan Hellar

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

              Created:
              Updated:
              Resolved: