Skip to content

Commit 6b9a1af

Browse files
committed
fixup! fixup! fixup! fixup! fixup! Add streaming API
1 parent 1eea436 commit 6b9a1af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/stream.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ remove_waiters!(stream::Stream, waiter::Integer) =
152152
remove_waiters!(stream::Stream, Int[waiter])
153153

154154
function migrate_stream!(stream::Stream, w::Integer=myid())
155+
if !isdefined(MemPool, :migrate!)
156+
@warn "MemPool migration support not enabled!" maxlog=1
157+
return
158+
end
155159
# Perform migration of the StreamStore
156160
# MemPool will block access to the new ref until the migration completes
157161
if stream.store_ref.handle.owner != w

0 commit comments

Comments
 (0)