Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-3666

Allow a network observer to be registered only once

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.8.9
    • 2.8.9
    • Java-Android
    • Security Level: Public
    • None
    • 1

    Description

      When a continuous replication goes offline, it registers an observer to watch for changes in connectivity. The code used to allow a single observer to be registered multiple times. If this happened often enough, the system would throw an uncheck exception: TooManyRequestsException, which will cause the thread to fail.

      Attachments

        Issue Links

          Activity

            People

              blake.meike Blake Meike
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty