Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
remove mention of connection pooling until issues with thread safety are fixed in orientdb
  • Loading branch information
phpnode committed Jun 5, 2014
1 parent 4e1b923 commit a754c48
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,6 @@ var server = Oriento({
password: 'yourpassword'
});
```
### Configuring the client to use a connection pool.

By default oriento uses one socket per server, but it is also possible to use a connection pool.
You should carefully benchmark this against the default setting for your use case,
there are scenarios where a connection pool is actually slightly worse for performance than a single connection.

```js
var server = Oriento({
host: 'localhost',
port: 2424,
username: 'root',
password: 'yourpassword',
pool: {
max: 10 // 1 by default
}
});
```


### Listing the databases on the server
Expand Down

1 comment on commit a754c48

@dehbmarques
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @phpnode,

Is it safe to use the connection pool? These orientdb issues are still open?

Thanks

Please sign in to comment.