DefangLabs / DefangLabs/docs-chatbot
Set lazy-apps=false
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- Avg merge
- 14h 50m
- Merged PRs (30d)
- 21
Description
With lazy-apps, the first request (likely a regular user) is slow, because it causes the program to be initialized.
With lazy-apps=false the healthcheck might not be available until ~30s later, so we need to combine this with start_period in Compose file.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at app/Dockerfile line 54 to inspect the current lazy-apps setting, then find the Compose healthcheck configuration. The change is complete when lazy-apps is disabled and the healthcheck allows roughly 30 seconds for initialization before reporting failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100