Skip to content

Commit

Permalink
Merge pull request #88 from useblacksmith/bump-timeout
Browse files Browse the repository at this point in the history
src: bump timeout from 30s to 45s
  • Loading branch information
adityamaru authored Jan 1, 2025
2 parents c03b613 + 42b59d6 commit 7a4d18f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/setup_builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export async function startAndConfigureBuildkitd(parallelism: number): Promise<s

// Change permissions on the buildkitd socket to allow non-root access
const startTime = Date.now();
const timeout = 30000; // 30 seconds in milliseconds
const timeout = 45000; // 45 seconds in milliseconds

while (Date.now() - startTime < timeout) {
if (fs.existsSync('/run/buildkit/buildkitd.sock')) {
Expand Down

0 comments on commit 7a4d18f

Please sign in to comment.