Skip to content

Commit

Permalink
feat: 🎸 update libs, and remove mentions of "-next"
Browse files Browse the repository at this point in the history
  • Loading branch information
severo committed Sep 7, 2022
1 parent 189a3da commit bb714f7
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 844 deletions.
12 changes: 6 additions & 6 deletions services/admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ To launch the scripts:

The scripts:

- `cancel-jobs-splits-next`: cancel all the started jobs for /splits-next (stop the workers before!)
- `cancel-jobs-splits`: cancel all the started jobs for /splits (stop the workers before!)
- `cancel-jobs-first-rows`: cancel all the started jobs for /first-rows (stop the workers before!)
- `refresh-cache`: add a /splits-next job for every HF dataset
- `refresh-cache-canonical`: add a /splits-next job for every HF canonical dataset
- `refresh-cache-errors`: add a /splits-next job for every erroneous HF dataset
- `refresh-cache`: add a /splits job for every HF dataset
- `refresh-cache-canonical`: add a /splits job for every HF canonical dataset
- `refresh-cache-errors`: add a /splits job for every erroneous HF dataset

## Run the API

Expand All @@ -73,7 +73,7 @@ Responses:

```json
{
"/splits-next": [{ "dataset": "sent_comp", "status": "200", "error": null }],
"/splits": [{ "dataset": "sent_comp", "status": "200", "error": null }],
"/first-rows": [
{
"dataset": "sent_comp",
Expand Down Expand Up @@ -116,7 +116,7 @@ Responses:

```json
{
"/splits-next": {
"/splits": {
"waiting": [],
"started": []
},
Expand Down
6 changes: 3 additions & 3 deletions services/admin/Scripts.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: cancel-jobs-splits-next
cancel-jobs-splits-next:
poetry run python src/admin/scripts/cancel_jobs_splits_next.py
.PHONY: cancel-jobs-splits
cancel-jobs-splits:
poetry run python src/admin/scripts/cancel_jobs_splits.py

.PHONY: cancel-jobs-first-rows
cancel-jobs-first-rows:
Expand Down
Loading

0 comments on commit bb714f7

Please sign in to comment.