prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Use main instead of master to load the datasets
  The main branch in https://github.com/huggingface/datasets is now `main`, not `master` anymore. Note that it's backward compatible, so no need to hurry
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `services/worker/src/worker/constants.py`
  Content:
  ```
  1 from typing import Optional
  2 
  3 DEFAULT_ASSETS_BASE_URL: str = "assets"
  4 DEFAULT_ASSETS_DIRECTORY: None = None
  5 DEFAULT_DATASETS_REVISION: str = "master"
  6 DEFAULT_HF_TOKEN: Optional[str] = None
  7 DEFAULT_LOG_LEVEL: str = "INFO"
  8 DEFAULT_MAX_JOB_RETRIES: int = 3
  9 DEFAULT_MAX_JOBS_PER_DATASET: int = 1
  10 DEFAULT_MAX_LOAD_PCT: int = 70
  11 DEFAULT_MAX_MEMORY_PCT: int = 80
  12 DEFAULT_MAX_SIZE_FALLBACK: int = 100_000_000
  13 DEFAULT_MIN_CELL_BYTES: int = 100
  14 DEFAULT_MONGO_CACHE_DATABASE: str = "datasets_server_cache"
  15 DEFAULT_MONGO_QUEUE_DATABASE: str = "datasets_server_queue"
  16 DEFAULT_MONGO_URL: str = "mongodb://localhost:27018"
  17 DEFAULT_ROWS_MAX_BYTES: int = 1_000_000
  18 DEFAULT_ROWS_MAX_NUMBER: int = 100
  19 DEFAULT_ROWS_MIN_NUMBER: int = 10
  20 DEFAULT_WORKER_SLEEP_SECONDS: int = 15
  21 DEFAULT_WORKER_QUEUE: str = "datasets"
  22
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/services/worker/src/worker/constants.py b/services/worker/src/worker/constants.py
  --- a/services/worker/src/worker/constants.py
  +++ b/services/worker/src/worker/constants.py
  @@ -2,7 +2,7 @@
   
   DEFAULT_ASSETS_BASE_URL: str = "assets"
   DEFAULT_ASSETS_DIRECTORY: None = None
  -DEFAULT_DATASETS_REVISION: str = "master"
  +DEFAULT_DATASETS_REVISION: str = "main"
   DEFAULT_HF_TOKEN: Optional[str] = None
   DEFAULT_LOG_LEVEL: str = "INFO"
   DEFAULT_MAX_JOB_RETRIES: int = 3
  
verification_info: {"golden_diff": "diff --git a/services/worker/src/worker/constants.py b/services/worker/src/worker/constants.py\n--- a/services/worker/src/worker/constants.py\n+++ b/services/worker/src/worker/constants.py\n@@ -2,7 +2,7 @@\n \n DEFAULT_ASSETS_BASE_URL: str = \"assets\"\n DEFAULT_ASSETS_DIRECTORY: None = None\n-DEFAULT_DATASETS_REVISION: str = \"master\"\n+DEFAULT_DATASETS_REVISION: str = \"main\"\n DEFAULT_HF_TOKEN: Optional[str] = None\n DEFAULT_LOG_LEVEL: str = \"INFO\"\n DEFAULT_MAX_JOB_RETRIES: int = 3\n", "issue": "Use main instead of master to load the datasets\nThe main branch in https://github.com/huggingface/datasets is now `main`, not `master` anymore. Note that it's backward compatible, so no need to hurry\n", "before_files": [{"content": "from typing import Optional\n\nDEFAULT_ASSETS_BASE_URL: str = \"assets\"\nDEFAULT_ASSETS_DIRECTORY: None = None\nDEFAULT_DATASETS_REVISION: str = \"master\"\nDEFAULT_HF_TOKEN: Optional[str] = None\nDEFAULT_LOG_LEVEL: str = \"INFO\"\nDEFAULT_MAX_JOB_RETRIES: int = 3\nDEFAULT_MAX_JOBS_PER_DATASET: int = 1\nDEFAULT_MAX_LOAD_PCT: int = 70\nDEFAULT_MAX_MEMORY_PCT: int = 80\nDEFAULT_MAX_SIZE_FALLBACK: int = 100_000_000\nDEFAULT_MIN_CELL_BYTES: int = 100\nDEFAULT_MONGO_CACHE_DATABASE: str = \"datasets_server_cache\"\nDEFAULT_MONGO_QUEUE_DATABASE: str = \"datasets_server_queue\"\nDEFAULT_MONGO_URL: str = \"mongodb://localhost:27018\"\nDEFAULT_ROWS_MAX_BYTES: int = 1_000_000\nDEFAULT_ROWS_MAX_NUMBER: int = 100\nDEFAULT_ROWS_MIN_NUMBER: int = 10\nDEFAULT_WORKER_SLEEP_SECONDS: int = 15\nDEFAULT_WORKER_QUEUE: str = \"datasets\"\n", "path": "services/worker/src/worker/constants.py"}], "after_files": [{"content": "from typing import Optional\n\nDEFAULT_ASSETS_BASE_URL: str = \"assets\"\nDEFAULT_ASSETS_DIRECTORY: None = None\nDEFAULT_DATASETS_REVISION: str = \"main\"\nDEFAULT_HF_TOKEN: Optional[str] = None\nDEFAULT_LOG_LEVEL: str = \"INFO\"\nDEFAULT_MAX_JOB_RETRIES: int = 3\nDEFAULT_MAX_JOBS_PER_DATASET: int = 1\nDEFAULT_MAX_LOAD_PCT: int = 70\nDEFAULT_MAX_MEMORY_PCT: int = 80\nDEFAULT_MAX_SIZE_FALLBACK: int = 100_000_000\nDEFAULT_MIN_CELL_BYTES: int = 100\nDEFAULT_MONGO_CACHE_DATABASE: str = \"datasets_server_cache\"\nDEFAULT_MONGO_QUEUE_DATABASE: str = \"datasets_server_queue\"\nDEFAULT_MONGO_URL: str = \"mongodb://localhost:27018\"\nDEFAULT_ROWS_MAX_BYTES: int = 1_000_000\nDEFAULT_ROWS_MAX_NUMBER: int = 100\nDEFAULT_ROWS_MIN_NUMBER: int = 10\nDEFAULT_WORKER_SLEEP_SECONDS: int = 15\nDEFAULT_WORKER_QUEUE: str = \"datasets\"\n", "path": "services/worker/src/worker/constants.py"}]}