Skip to content

Commit

Permalink
Use default MongoCursor timeout for FindCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Apr 3, 2013
1 parent 26dfa62 commit 4df88fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/FindCommand.php
Expand Up @@ -29,7 +29,7 @@ protected function configure()
new InputOption('server', 's', InputOption::VALUE_OPTIONAL, 'MongoDB server', 'mongodb://localhost:27017'),
new InputOption('db', 'd', InputOption::VALUE_OPTIONAL, 'MongoDB database', 'test'),
new InputOption('collection', 'c', InputOption::VALUE_OPTIONAL, 'MongoDB collection', 'test'),
new InputOption('timeout', null, InputOption::VALUE_OPTIONAL, 'Query timeout (milliseconds)', 5000),
new InputOption('timeout', null, InputOption::VALUE_OPTIONAL, 'Query timeout (milliseconds)', 30000),
))
->setDescription('Find documents')
->setHelp(<<<'EOF'
Expand Down

0 comments on commit 4df88fa

Please sign in to comment.