HomeElementl

Add a default gRPC timeout to better handle slow/hanging sensors in the daemon

Description

Add a default gRPC timeout to better handle slow/hanging sensors in the daemon

Summary: Rather than hanging forever when the gRPC server executes user code that hangs or takes forever, timeout after 60 seconds. This won't solve every problem with sensors that hang, but at least will give some indication to the user that something is wrong with a particular sensor (rather than crashing the entire daemon because of one bad sensor)

Test Plan: BK

Reviewers: prha, alangenfeld

Reviewed By: prha

Differential Revision: https://dagster.phacility.com/D7479

Details

Provenance
dgibsonAuthored on Sat, Apr 17, 1:01 AM
Reviewer
prha
Differential Revision
D7479: Add a default gRPC timeout to better handle slow/hanging sensors in the daemon
Parents
R1:23dbfe0051c0: include stack trace in repo failure
Branches
Unknown
Tags
Unknown