Skip to content

Configurable timeout - #32

Merged
mic159 merged 4 commits into
masterfrom
timeout
Aug 10, 2020
Merged

Configurable timeout#32
mic159 merged 4 commits into
masterfrom
timeout

Conversation

@mic159

@mic159 mic159 commented Aug 10, 2020

Copy link
Copy Markdown
Owner

Allow the request timeout to be configured (default 10 seconds)

Comment thread react_render/django/render.py Outdated
to_static_markup,
json_encoder,
service_url=SERVICE_URL,
timeout=TIMEOUT,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better if this was exposed in render_component so it's not just a global timeout.. can choose a timeout based on the component being rendered

@mic159
mic159 merged commit 8395079 into master Aug 10, 2020
@mic159
mic159 deleted the timeout branch August 10, 2020 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants