diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-06 18:49:07 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-06 18:49:07 +0100 |
| commit | 44918316007ed3153dc802a4b11db3ea09024a8b (patch) | |
| tree | 29c3feaab3b579ba44f0ea4b3a61e15ed2b9df49 /docs | |
| parent | e0bb1fc17e2fafc3950d964af976859323fc9ed6 (diff) | |
| download | karakeep-44918316007ed3153dc802a4b11db3ea09024a8b.tar.zst | |
fix(workers): Increase default timeout to 60s, make it configurable and improve logging
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/docs/03-configuration.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/docs/03-configuration.md b/docs/docs/03-configuration.md index 8bf8a069..1307bcfd 100644 --- a/docs/docs/03-configuration.md +++ b/docs/docs/03-configuration.md @@ -34,3 +34,9 @@ Either `OPENAI_API_KEY` or `OLLAMA_BASE_URL` need to be set for automatic taggin | INFERENCE_TEXT_MODEL | No | gpt-3.5-turbo-0125 | The model to use for text inference. You'll need to change this to some other model if you're using ollama. | | INFERENCE_IMAGE_MODEL | No | gpt-4-vision-preview | The model to use for image inference. You'll need to change this to some other model if you're using ollama and that model needs to support vision APIs (e.g. llava). | | INFERENCE_LANG | No | english | The language in which the tags will be generated. | + +## Crawler Configs + +| Name | Required | Default | Description | +| ----------------------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| CRAWLER_JOB_TIMEOUT_SEC | No | 60 | How long to wait for the crawler job to finish before timing out. If you have a slow internet connection or a low powered device, you might want to bump this up a bit | |
