Skip to content

Commit 3a30f68

Browse files
committed
fix code example option name
1 parent 0c0d37d commit 3a30f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/connect/csot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
uri = "<connection string>"
66

77
# Sets a client-level timeout configuration
8-
options = { timeoutMS: 30000 }
8+
options = { timeout_ms: 30000 }
99

1010
Mongo::Client.new(uri, options) do |client|
1111
db = client.use('test-db')

0 commit comments

Comments
 (0)