Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address chaining issues by making state management more predictable #13

Merged
merged 5 commits into from
Apr 12, 2016

Conversation

craigmarvelley
Copy link
Contributor

I've been using INSChainOperation quite heavily, and was experiencing an issue when adding lots of these operations to a queue. After a while the queue would stop processing operations.

I've got a project that reproduces the issue here: https://github.com/craigmarvelley/insoperationskit-chaining-issues

A similar issue was reported on the PSOperations repo (pluralsight/PSOperations#32). I applied the equivalent fix there to this repo, and brought over some additional fixes to the operation class' state management that have been added to PSOperations recently (locking the property while updating, etc.).

After applying these fixes and using the code heavily over the last month I'm no longer seeing my queries stop processing operations.

@m1entus m1entus merged commit 3968141 into m1entus:master Apr 12, 2016
@m1entus
Copy link
Owner

m1entus commented Apr 12, 2016

Looks good thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants