Skip to content

Commit

Permalink
Update empty comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaruza committed Jan 7, 2025
1 parent 8498d4d commit 570f34f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scan/postgres_table_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ PostgresTableReader::PostgresTableReaderCleanup() {
int
PostgresTableReader::ParallelWorkerNumber(Cardinality cardinality) {
static const int cardinality_threshold = 1 << 16;
/* No parallel scan wanted */
/* No parallel worker scan wanted */
if (!duckdb_max_workers_per_postgres_scan) {
return 0;
}
/* */
/* Use only one worker when scan is done on low cardinality */
if (cardinality <= cardinality_threshold) {
return 1;
}
Expand Down

0 comments on commit 570f34f

Please sign in to comment.