Skip to content

Commit 066feec

Browse files
authoredMar 28, 2024
Merge pull request #2149 from joto/sync-earlier
Sync output earlier for better objects/s numbers
2 parents 37e12e0 + 6167112 commit 066feec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/osmdata.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ void osmdata_t::after_relations()
153153
if (m_append) {
154154
m_dependency_manager->after_relations();
155155
}
156+
157+
m_output->sync();
156158
}
157159

158160
void osmdata_t::start() const
@@ -406,8 +408,6 @@ void osmdata_t::postprocess_database() const
406408

407409
void osmdata_t::stop() const
408410
{
409-
m_output->sync();
410-
411411
if (m_append && m_with_forward_dependencies) {
412412
process_dependents();
413413
}

0 commit comments

Comments
 (0)