fix(url): crawling fixed (#1785)

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
This commit is contained in:
Stan Girard 2023-12-02 18:08:22 +01:00 committed by GitHub
parent 10617727ab
commit c82a8cc8b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 2 deletions

View File

@ -171,7 +171,7 @@ def process_crawl_and_notify(
message=str(notification_message),
),
)
update_brain_last_update_time(brain_id)
brain_service.update_brain_last_update_time(brain_id)
return True

40
backend/renovate.json Normal file
View File

@ -0,0 +1,40 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"group:allNonMajor"
],
"prHourlyLimit": 0,
"prConcurrentLimit": 15,
"baseBranches": [
"main"
],
"packageRules": [
{
"updateTypes": [
"major"
],
"addLabels": [
"SemVer Major"
]
},
{
"updateTypes": [
"minor"
],
"addLabels": [
"SemVer Minor"
]
},
{
"updateTypes": [
"patch",
"digest",
"bump"
],
"addLabels": [
"SemVer Patch"
]
}
]
}

View File

@ -39,12 +39,13 @@ services:
command:
- "uvicorn"
- "main:app"
- "--reload"
- "--host"
- "0.0.0.0"
- "--port"
- "5050"
- "--workers"
- "1"
- "2"
restart: always
depends_on:
db: