Skip to content

Commit 5c1d278

Browse files
stream -> output for consistency
1 parent 170c31d commit 5c1d278

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/replit_river/v2/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ async def _recv_from_ws(
11841184
)
11851185
continue
11861186

1187-
backpressure_waiter, stream = waiter_and_stream
1187+
backpressure_waiter, output = waiter_and_stream
11881188

11891189
if (
11901190
msg.controlFlags & STREAM_CLOSED_BIT != 0
@@ -1195,15 +1195,15 @@ async def _recv_from_ws(
11951195
pass
11961196
else:
11971197
try:
1198-
await stream.put(msg.payload)
1198+
await output.put(msg.payload)
11991199
except ChannelClosed:
12001200
# The client is no longer interested in this stream,
12011201
# just drop the message.
12021202
pass
12031203

12041204
if msg.controlFlags & STREAM_CLOSED_BIT != 0:
12051205
# Communicate that we're going down
1206-
stream.close()
1206+
output.close()
12071207
# Wake up backpressured writer
12081208
backpressure_waiter.set()
12091209
except OutOfOrderMessageException:

0 commit comments

Comments
 (0)