Skip to content

Commit a67b814

Browse files
authored
Remove JobCount method that is using a deprecated method (#336)
1 parent e547d26 commit a67b814

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Sources/SwiftQueue/SwiftQueueManager.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,6 @@ public extension SwiftQueueManager {
112112
return manage.values.count
113113
}
114114

115-
/// number of jobs for all queues
116-
/// TODO remove this method
117-
func jobCount() -> Int {
118-
var count = 0
119-
for element in manage.values {
120-
count += element.operationCount
121-
}
122-
return count
123-
}
124-
125115
/// Return queues UUID with the list of Jobs inside
126116
func getAll() -> [String: [JobInfo]] {
127117
var result = [String: [JobInfo]]()

0 commit comments

Comments
 (0)