We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8674b42 commit 34cf9d8Copy full SHA for 34cf9d8
src/osmdata.cpp
@@ -414,9 +414,12 @@ void osmdata_t::reprocess_marked() const
414
415
void osmdata_t::postprocess_database() const
416
{
417
+ auto const num_threads = m_parallel_indexing ? m_num_procs : 1;
418
+ log_debug("Starting pool with {} threads.", num_threads);
419
+
420
// All the intensive parts of this are long-running PostgreSQL commands.
421
// They will be run in a thread pool.
- thread_pool_t pool{m_parallel_indexing ? m_num_procs : 1};
422
+ thread_pool_t pool{num_threads};
423
424
if (m_droptemp) {
425
// When dropping middle tables, make sure they are gone before
0 commit comments