Bladeren bron

Merge pull request #518 from bjorkert/remove-devicestatus-logs

Remove extra debug logs from PR #501
Deniz Cengiz 1 jaar geleden
bovenliggende
commit
aeda25095a
1 gewijzigde bestanden met toevoegingen van 0 en 12 verwijderingen
  1. 0 12
      Trio/Sources/Services/Network/Nightscout/NightscoutManager.swift

+ 0 - 12
Trio/Sources/Services/Network/Nightscout/NightscoutManager.swift

@@ -133,19 +133,7 @@ final class BaseNightscoutManager: NightscoutManager, Injectable {
         /// 2. To not spam the user's NS site with a high number of uploads in a very short amount of time (less than 1sec)
         /// 2. To not spam the user's NS site with a high number of uploads in a very short amount of time (less than 1sec)
         coreDataPublisher?
         coreDataPublisher?
             .filteredByEntityName("OrefDetermination")
             .filteredByEntityName("OrefDetermination")
-            .handleEvents(receiveOutput: { _ in
-                debug(
-                    .nightscout,
-                    "OrefDetermination update"
-                )
-            })
             .debounce(for: .seconds(2), scheduler: debouncedQueue)
             .debounce(for: .seconds(2), scheduler: debouncedQueue)
-            .handleEvents(receiveOutput: { _ in
-                debug(
-                    .nightscout,
-                    "OrefDetermination update debounceed"
-                )
-            })
             .sink { [weak self] objectIDs in
             .sink { [weak self] objectIDs in
                 guard let self = self else { return }
                 guard let self = self else { return }