Skip to content

fix: correct FUSE mount timeout to 30s and avoid unnecessary sleep#261

Closed
claude-claude[bot] wants to merge 1 commit intofix-fuse-mount-racefrom
claude/fix-21742508704
Closed

fix: correct FUSE mount timeout to 30s and avoid unnecessary sleep#261
claude-claude[bot] wants to merge 1 commit intofix-fuse-mount-racefrom
claude/fix-21742508704

Conversation

@claude-claude
Copy link
Contributor

@claude-claude claude-claude bot commented Feb 6, 2026

Auto-Fix for PR #258

Issues Fixed

  • Documentation mismatch: Changed poll loop from 60 to 61 iterations to achieve actual 30s timeout (60 sleeps × 500ms = 30,000ms). Previously waited up to 29.5s (59 sleeps × 500ms).
  • Unnecessary sleep on timeout: Added condition to skip sleep on final iteration before returning timeout error, saving 500ms.

Changes

  • Line 1700: Changed for attempt in 1..=60 to for attempt in 1..=61
  • Line 1712: Added condition if attempt < 61 before sleep to avoid sleeping on final iteration

Before

  • Max wait: 29.5s (59 sleeps) + wasted 500ms on final iteration
  • Total delay before timeout error: ~30s

After

  • Max wait: 30s (60 sleeps)
  • No wasted sleep before timeout error
  • Matches documentation claim of "up to 30s"

Generated by Claude | Review Run

- Changed poll loop from 60 to 61 iterations to achieve actual 30s timeout
  (60 sleeps × 500ms = 30,000ms)
- Added condition to skip sleep on final iteration before timeout
- Previously: 59 sleeps = 29.5s max wait + wasted 500ms on final iteration
- Now: 60 sleeps = 30s max wait, no wasted sleep

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@ejc3
Copy link
Owner

ejc3 commented Feb 7, 2026

Closing: pedantic off-by-one (29.5s vs 30s) — not meaningful.

@ejc3 ejc3 closed this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant