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.
2 parents 3f8a6b0 + 34cf9d8 commit 3553c57Copy full SHA for 3553c57
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