File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 59
59
// in order to use an externally generated JWT, there is no need to specify user and passwd, but just the JWT value:
60
60
// ConnectionOptions::OPTION_AUTH_JWT => '', // use an externally generated JWT for authorization
61
61
62
- ConnectionOptions::OPTION_TIMEOUT => 30 , // timeout in seconds
63
- // ConnectionOptions::OPTION_TRACE => $traceFunc, // tracer function, can be used for debugging
62
+ ConnectionOptions::OPTION_CONNECT_TIMEOUT => 10 , // connect timeout in seconds
63
+ ConnectionOptions::OPTION_REQUEST_TIMEOUT => 30 , // request timeout in seconds
64
+ // ConnectionOptions::OPTION_TRACE => $traceFunc, // tracer function, can be used for debugging
64
65
ConnectionOptions::OPTION_CREATE => false , // do not create unknown collections automatically
65
66
ConnectionOptions::OPTION_UPDATE_POLICY => UpdatePolicy::LAST , // last update wins
66
67
];
You can’t perform that action at this time.
0 commit comments