Skip to content

Commit

Permalink
Set UI env variables to control bunch of API requests on failed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Dec 12, 2023
1 parent fed9ef6 commit bec0795
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zimfarm/ui/ui-configs.cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ data:
ZIMFARM_KIWIX_DOWNLOAD_URL: "https://mirror.download.kiwix.org/zim"
ZIMFARM_WEBAPI: "https://api.farm.openzim.org/v1"
ZIMFARM_LOGS_URL: "https://s3.us-west-1.wasabisys.com/org-kiwix-zimfarm-logs/logs"
ZIMFARM_TASKS_LOAD_SCHEDULES_CHUNK_SIZE: "5"
ZIMFARM_TASKS_LOAD_SCHEDULES_DELAY: "100"
# obsolete keys
# SOCKET_PORT: "32029"
# SOCKET_URI: "tcp://tcplb01.sloppy.io:32029"
2 changes: 2 additions & 0 deletions zimit/farm-ui/farm-ui-configs.cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ data:
ZIMFARM_KIWIX_DOWNLOAD_URL: "https://s3.us-west-1.wasabisys.com/org-kiwix-zimit"
ZIMFARM_WEBAPI: "https://api.farm.youzim.it/v1"
ZIMFARM_LOGS_URL: "https://s3.us-west-1.wasabisys.com/org-kiwix-zimit"
ZIMFARM_TASKS_LOAD_SCHEDULES_CHUNK_SIZE: "5"
ZIMFARM_TASKS_LOAD_SCHEDULES_DELAY: "100"

0 comments on commit bec0795

Please sign in to comment.