Skip to content

Commit bc579bb

Browse files
Fix subtle counting bug.
1 parent ff09423 commit bc579bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-sdk/Internal/HealthMonitor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class HealthMonitor {
5454

5555
do {
5656
let count = try dataProvider.countTasks()
57-
return count <= dataProvider.maxTasks
57+
return count < dataProvider.maxTasks
5858
} catch let error {
5959
ITBError("DBError: " + error.localizedDescription)
6060
onError()

0 commit comments

Comments
 (0)