summaryrefslogtreecommitdiff
path: root/src/mongo/db/read_concern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/read_concern.cpp')
-rw-r--r--src/mongo/db/read_concern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/read_concern.cpp b/src/mongo/db/read_concern.cpp
index fe9fd208c04..85f33dd149e 100644
--- a/src/mongo/db/read_concern.cpp
+++ b/src/mongo/db/read_concern.cpp
@@ -48,7 +48,7 @@ Status waitForReadConcern(OperationContext* opCtx,
return w(opCtx, readConcernArgs, dbName, allowAfterClusterTime);
}
-Status waitForLinearizableReadConcern(OperationContext* opCtx, int readConcernTimeout) {
+Status waitForLinearizableReadConcern(OperationContext* opCtx, Milliseconds readConcernTimeout) {
static auto w = MONGO_WEAK_FUNCTION_DEFINITION(waitForLinearizableReadConcern);
return w(opCtx, readConcernTimeout);
}