Optional maxThis temporary error-ing property exists for migration convenience, and will be removed in a future version.
maxTimeMS option is no longer available; the timeouts system has been overhauled, and timeouts should now be set using timeout, and defaults in timeoutDefaults. You may generally Ctrl+R replace maxTimeMS with timeout to retain the same behavior.Optional timeoutThe method timeout override.
See TimeoutDescriptor for much more information.
Overview (Deprecated)
Moved to CommandOptions.timeout.
Deprecated