File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,12 @@ class TimeoutConfig(int, Enum):
104
104
# base amount to sleep for before beginning exponential backoff during testing
105
105
BASE_SLEEP = 60
106
106
107
- # max amount to wait before timing out during exponential backoff
108
- MAX_SLEEP = 210
107
+ # NOTE: Some detections take longer to generate their risk/notables than other; testing has
108
+ # shown 270s to likely be sufficient for all detections in 99% of runs; however we have
109
+ # encountered a handful of transient failures in the last few months. Since our success rate
110
+ # is at 100% now, we will round this to a flat 300s to accomodate these outliers.
111
+ # Max amount to wait before timing out during exponential backoff
112
+ MAX_SLEEP = 300
109
113
110
114
111
115
# TODO (#226): evaluate sane defaults for timeframe for integration testing (e.g. 5y is good
You can’t perform that action at this time.
0 commit comments