File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,18 @@ SYNC_INGREDIENTS_CELERY=True
69
69
# This option controls whether to download ingredients and their images from the
70
70
# configured wger instance. When scanning products with the barcode scanner, it is
71
71
# possible to dynamically fetch the ingredient if it is not known in the local database.
72
- # Possible values: WGER or None. Requires USE_CELERY to be set to true.
72
+ # Possible values: WGER or None (to deactivate) . Requires USE_CELERY to be set to true.
73
73
DOWNLOAD_INGREDIENTS_FROM = WGER
74
74
75
+ # Keep exercise api cache warmed up. This will setup a job that will run once
76
+ # a day at a random time (this time is selected once when starting the server).
77
+ # Requires USE_CELERY to be set to true.
78
+ CACHE_API_EXERCISES_CELERY = True
79
+
80
+ # Whether to force updating the exercise api cache every time the job runs
81
+ CACHE_API_EXERCISES_CELERY_FORCE_UPDATE = False
82
+
83
+
75
84
# Whether celery is configured and should be used. Can be left to true with
76
85
# this setup but can be deactivated if you are using the app in some other way
77
86
USE_CELERY = True
You can’t perform that action at this time.
0 commit comments