Skip to content

Commit

Permalink
Extend timeout for build requests
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 committed Sep 27, 2024
1 parent d0c83ce commit f53400c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/minifront/src/state/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ const build = async (
status?: (AuthorizeAndBuildResponse | WitnessAndBuildResponse)['status'],
) => void,
) => {
for await (const { status } of buildFn(req)) {
// Setting timeout for 10mins given slower machines can take time to build
for await (const { status } of buildFn(req, { timeoutMs: 600_000 })) {
onStatusUpdate(status);

switch (status.case) {
Expand Down

0 comments on commit f53400c

Please sign in to comment.