diff --git a/backend/celery_worker.py b/backend/celery_worker.py index 66c207c22..02a3cf973 100644 --- a/backend/celery_worker.py +++ b/backend/celery_worker.py @@ -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 diff --git a/backend/renovate.json b/backend/renovate.json new file mode 100644 index 000000000..18ac5e9d6 --- /dev/null +++ b/backend/renovate.json @@ -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" + ] + } + ] +} \ No newline at end of file diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index b4d993697..096de332d 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -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: