Skip to content

Commit

Permalink
fix(ingestion/classifier): temporary measure to avoid deadlocks for
Browse files Browse the repository at this point in the history
classifier
  • Loading branch information
skrydal committed Jan 2, 2025
1 parent bdc34b7 commit 35fb6f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class ClassificationConfig(ConfigModel):
)

max_workers: int = Field(
default=(os.cpu_count() or 4),
description="Number of worker processes to use for classification. Set to 1 to disable.",
default=1,
description="Number of worker processes to use for classification. Note that any number above 1 might lead to a deadlock. Set to 1 to disable.",
)

table_pattern: AllowDenyPattern = Field(
Expand Down

0 comments on commit 35fb6f3

Please sign in to comment.