Skip to content

Increase BREW_OUTDATED_TIMEOUT_SECONDS from 15s to 60s #694

@groksrc

Description

@groksrc

Description

The automatic update check occasionally fails with a timeout when running brew outdated:

Automatic update check failed. Command '['brew', 'outdated', '--quiet', 'basic-memory']' timed out after 15 seconds

Root Cause

BREW_OUTDATED_TIMEOUT_SECONDS is set to 15 in src/basic_memory/cli/auto_update.py:25. Homebrew can be slow depending on network conditions or if it needs to update its index, causing this timeout to be hit intermittently.

Proposed Fix

Increase BREW_OUTDATED_TIMEOUT_SECONDS from 15 to 60 seconds. This is a non-interactive background check, so a longer timeout won't impact UX.

Location

src/basic_memory/cli/auto_update.py:25

BREW_OUTDATED_TIMEOUT_SECONDS = 15  # should be 60

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions