doctrine / DoctrineCouchDBBundle

Symfony Bundle for DoctrineCouchDB
http://www.doctrine-project.org
Other
49 stars 46 forks source link

Fixed Symfony 3 issues and added timeout configuration option #50

Closed asimlqt closed 6 years ago

asimlqt commented 8 years ago

Hi,

I had issues using this bundle in our project, primarily 2 issues:

1) A couple of the service definitions were not working in our symfony project (v3.0.2). 2) The timeout value was hard coded and set really low (0.01s) which was causing every request to timeout because i was connecting to a remote couch db instance and not local. So i might it configurable (default is 0.01).

I'm guessing the symfony 3 fix will be incompatible with symfony 2 (I haven't checked if that is the case) so I'll leave it up to the project admins to determine how best to merge this. A v3.0 tag migh tbe the way to go.

Thanks Asim