Skip to content

Commit 8f86256

Browse files
authoredNov 30, 2023
Merge pull request #460 from JuliaParallel/jps/reschedule-check-task
reschedule_inputs: Don't hash non-Thunk inputs
2 parents 6727365 + b6f7c0d commit 8f86256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/sch/util.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function reschedule_syncdeps!(state, thunk, seen=Set{Thunk}())
144144
w = get!(()->Set{Thunk}(), state.waiting, thunk)
145145
for input in thunk.syncdeps
146146
input = unwrap_weak_checked(input)
147-
input in seen && continue
147+
istask(input) && input in seen && continue
148148

149149
# Unseen
150150
push!(get!(()->Set{Thunk}(), state.waiting_data, input), thunk)

0 commit comments

Comments
 (0)
Please sign in to comment.