Skip to content

Searching for messages beyond 90 days #550

Answered by jhthorsen
losuler asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. It's mostly for performance, though 90 days is just a guess. You can increase it by setting CONVOS_DEFAULT_SEARCH_AFTER. Example:

# 31536000 = 365 * 86400 # 365 days * seconds_per_day
CONVOS_DEFAULT_SEARCH_AFTER=31536000 ./script/convos daemon

Unfortunately, the text on the search page will not update, since it's a fixed value: https://github.com/Nordaaker/convos/blob/296d286aaff60ded33bc2e792ea7bd1e9caef56c/assets/page/Search.svelte#L67

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jhthorsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants