Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions azure_functions_worker/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


import argparse
import sys

from . import aio_compat
from . import dispatcher
Expand Down Expand Up @@ -36,17 +37,16 @@ def main():

try:
return aio_compat.run(start_async(
args.host, args.port, args.worker_id, args.request_id,
args.grpc_max_msg_len))
args.host, args.port, args.worker_id, args.request_id))
except Exception:
error_logger.exception('unhandled error in functions worker')
raise


async def start_async(host, port, worker_id, request_id, grpc_max_msg_len):
async def start_async(host, port, worker_id, request_id):
disp = await dispatcher.Dispatcher.connect(
host, port, worker_id, request_id,
connect_timeout=5.0, max_msg_len=grpc_max_msg_len)
connect_timeout=5.0, max_msg_len=sys.maxsize)

disp.load_bindings()

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@


# TODO: change this to something more stable when available.
WEBHOST_URL = ('https://ci.appveyor.com/api/buildjobs/1fqp92o5h2gks7xe'
WEBHOST_URL = ('https://ci.appveyor.com/api/buildjobs/19gqd7drpxhkedea'
'/artifacts'
'/Functions.Binaries.2.0.12888.no-runtime.zip')
'/Functions.Binaries.2.0.13036.no-runtime.zip')

# Extensions necessary for non-core bindings.
AZURE_EXTENSIONS = """\
Expand Down