mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Osdu: Split blocking and non-blocking api, and fix race condition on parquet data.
This commit is contained in:
@@ -1056,7 +1056,7 @@ std::pair<cvf::ref<RigWellPath>, QString> RimWellPathCollection::loadWellPathGeo
|
||||
const QString& wellboreTrajectoryId,
|
||||
double datumElevation )
|
||||
{
|
||||
auto [fileContents, errorMessage] = osduConnector->requestWellboreTrajectoryParquetDataById( wellboreTrajectoryId );
|
||||
auto [fileContents, errorMessage] = osduConnector->requestWellboreTrajectoryParquetDataByIdBlocking( wellboreTrajectoryId );
|
||||
if ( !errorMessage.isEmpty() )
|
||||
{
|
||||
return { nullptr, errorMessage };
|
||||
@@ -1071,7 +1071,7 @@ std::pair<cvf::ref<RigWellPath>, QString> RimWellPathCollection::loadWellPathGeo
|
||||
std::pair<cvf::ref<RigOsduWellLogData>, QString> RimWellPathCollection::loadWellLogFromOsdu( RiaOsduConnector* osduConnector,
|
||||
const QString& wellLogId )
|
||||
{
|
||||
auto [fileContents, errorMessage] = osduConnector->requestWellLogParquetDataById( wellLogId );
|
||||
auto [fileContents, errorMessage] = osduConnector->requestWellLogParquetDataByIdBlocking( wellLogId );
|
||||
if ( !errorMessage.isEmpty() )
|
||||
{
|
||||
return { nullptr, errorMessage };
|
||||
|
||||
Reference in New Issue
Block a user