Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix scheduling tasks with many deps/params.#409

Merged
erikbern merged 1 commit into
masterfrom
unknown repository
Aug 28, 2014
Merged

Fix scheduling tasks with many deps/params.#409
erikbern merged 1 commit into
masterfrom
unknown repository

Conversation

@f355
Copy link
Copy Markdown
Contributor

@f355 f355 commented Aug 27, 2014

Tornado limits maximum size of HTTP request (without body) to 65536 bytes by default. If there is a task with many parameters and/or dependencies, it could fail to be scheduled. Luigi server just closes RPC connection, logging this:

2014-08-27 08:40:37,728 tornado.general[2159] INFO: Unsatisfiable read, closing connection: delimiter <_sre.SRE_Pattern object at 0x27dd6a8> not found within 65536 bytes

This commit increases that limit to 2MB. "Two megabytes ought to be enough for anyone."

@erikbern
Copy link
Copy Markdown
Contributor

LGTM but it would be great if we can switch to POST instead!

@f355
Copy link
Copy Markdown
Contributor Author

f355 commented Aug 28, 2014

Yes, I was just a bit afraid to make a change that big. See #411, hopefully I didn't break anything.

erikbern pushed a commit that referenced this pull request Aug 28, 2014
Fix scheduling tasks with many deps/params.
@erikbern erikbern merged commit dd1a2a9 into spotify:master Aug 28, 2014
@f355 f355 deleted the fix-large-rpc-requests branch August 28, 2014 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants