Skip to content

Standardize search_timeout to seconds - #196

Closed
cryobry wants to merge 1 commit into
mrusse:devfrom
cryobry:fix-search-timeout
Closed

Standardize search_timeout to seconds#196
cryobry wants to merge 1 commit into
mrusse:devfrom
cryobry:fix-search-timeout

Conversation

@cryobry

@cryobry cryobry commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Fixes inconsistent search_timeout units by standardizing config to seconds and converting to milliseconds only at the SLSKD API call. Also updates docs/examples from 5000 to 5. This is a breaking config semantic change for users who previously supplied millisecond values.

Also addresses the following bug on line 476 that currently compares seconds to ms:
if (time.time() - start_time) > config.getint("Search Settings", "search_timeout", fallback=5000):

@cryobry

cryobry commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

I'll try to break out semantic changes.

@cryobry cryobry closed this Aug 6, 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