Skip to content

Commit 8d9ab62

Browse files
committed
Fix typo in grpc config
1 parent 2cbcf24 commit 8d9ab62

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

api/grpc_getter.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
def get_grpc_stub():
1515
channel = grpc.aio.insecure_channel(
1616
f"{os.getenv('DSHOST', 'localhost')}:{os.getenv('DSPORT', '50050')}",
17-
options=[("grpc.max_receive_message_length ", int(os.getenv("GRPC_MAX_MESSAGE_SIZE", 4096)))],
17+
options=[
18+
(
19+
"grpc.max_receive_message_length",
20+
int(os.getenv("GRPC_MAX_MESSAGE_SIZE", 4096)),
21+
)
22+
],
1823
)
1924
return dstore_grpc.DatastoreStub(channel)
2025

0 commit comments

Comments
 (0)