Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
queueing: Fix cluster duplicate handler dying
With python3 the cluster duplicate handler would die from RuntimeErrors due to the items() accessor of the duplicate backlog dict being a view/iterator that doesn't respond well to the dict changing while being iterated. Prevent the RuntimeError by iterating over the items of a copy of the dict while changing the original, similar to what we're doing in the cuckoo job tracke for alomst the same reason already. Fixes scVENUS#160.
- Loading branch information