Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wave QC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSUG
RESIF
Wave QC
Commits
22b1e74d
Commit
22b1e74d
authored
1 year ago
by
Simon Panay
Browse files
Options
Downloads
Patches
Plain Diff
celery : default beat filename path must be a Path instance
parent
bd2b7cde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!222
Resolve "Celery must be configurable with env variables"
Pipeline
#178452
passed
1 year ago
Stage: build
Stage: typecheck
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
waveqc/config.py
+2
-1
2 additions, 1 deletion
waveqc/config.py
with
2 additions
and
1 deletion
waveqc/config.py
+
2
−
1
View file @
22b1e74d
...
...
@@ -22,7 +22,8 @@ class Settings(BaseSettings):
CELERY_PREFETCH
:
int
=
1
CELERY_MAX_TASKS_PER_CHILD
:
int
=
20
CELERY_BEAT_FILENAME
:
Path
=
"
/scratch/waveqc/celerybeat-schedule
"
CELERY_BEAT_FILENAME
:
Path
=
Path
(
"
/scratch/waveqc/celerybeat-schedule
"
)
model_config
=
SettingsConfigDict
(
env_prefix
=
"
waveqc_
"
,
env_file
=
Path
(
"
.env
"
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment