Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioBrancati committed Oct 22, 2018
1 parent f206ae1 commit 83b28f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Here is the list of all the features:
- [x] Create and handle schedules
- [x] Automatically or manually retry an operation
- [ ] Ability to restore uncompleted operations
- [ ] Add throlling between each automatic operation retry
- [ ] Throlling between each automatic operation retry

Requirements
============
Expand Down
4 changes: 2 additions & 2 deletions Sources/Queuer/ConcurrentOperation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ open class ConcurrentOperation: Operation {
open func retry() {
if manualRetry, shouldRetry, let executionBlock = executionBlock {
executionBlock(self)
self.finish(hasFailed)
finish(hasFailed)
}
}

Expand All @@ -117,7 +117,7 @@ open class ConcurrentOperation: Operation {
if let executionBlock = executionBlock {
while shouldRetry, !manualRetry {
executionBlock(self)
self.finish(hasFailed)
finish(hasFailed)
}

retry()
Expand Down

0 comments on commit 83b28f3

Please sign in to comment.