Merge pull request #10119 from chengduoZH/rollback_delay_op

Enable delay op feature
wangkuiyi-patch-2
chengduo 7 years ago committed by GitHub
commit 6c0356e41d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -128,7 +128,7 @@ FeedFetchList ThreadedSSAGraphExecutor::Run(
//
// NOTE: DelayedOps have a lower priority. It will be scheduled after all
// ready_ops have been performed.
if (ready_ops.empty() && allow_op_delay_) {
if (ready_ops.empty() && allow_op_delay_ && running_ops_ == 0) {
run_all_ops(delayed_ops);
} else {
run_all_ops(ready_ops);

Loading…
Cancel
Save