File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
lib/rails/generators/mongoid/config/templates Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -220,8 +220,13 @@ for details on driver options.
220
220
# (default: 10)
221
221
connect_timeout: 10
222
222
223
- # The timeout to wait to execute operations on a socket before raising an error.
224
- # (default: nil)
223
+ # How long to wait for a response for each operation sent to the
224
+ # server. This timeout should be set to a value larger than the
225
+ # processing time for the longest operation that will be executed
226
+ # by the application. Note that this is a client-side timeout;
227
+ # the server may continue executing an operation after the client
228
+ # aborts it with the SocketTimeout exception.
229
+ # (default: nil, meaning no timeout)
225
230
socket_timeout: 5
226
231
227
232
# The name of the replica set to connect to. Servers provided as seeds that do
Original file line number Diff line number Diff line change @@ -80,8 +80,13 @@ development:
80
80
# (default: 10)
81
81
# connect_timeout: 10
82
82
83
- # The timeout to wait to execute operations on a socket before raising an error.
84
- # (default: 5)
83
+ # How long to wait for a response for each operation sent to the
84
+ # server. This timeout should be set to a value larger than the
85
+ # processing time for the longest operation that will be executed
86
+ # by the application. Note that this is a client-side timeout;
87
+ # the server may continue executing an operation after the client
88
+ # aborts it with the SocketTimeout exception.
89
+ # (default: nil, meaning no timeout)
85
90
# socket_timeout: 5
86
91
87
92
# The name of the replica set to connect to. Servers provided as seeds that do
You can’t perform that action at this time.
0 commit comments