Skip to content

Commit ca3fde4

Browse files
Updates to Readme
Co-authored-by: Michael Filonenko <filonenko.mikhail@gmail.com>
1 parent 7602c30 commit ca3fde4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Node tarantool driver for 1.7+ support Node.js v.4+.
66

77
Based on [go-tarantool](https://github.com/tarantool/go-tarantool) and implements [Tarantool’s binary protocol](http://tarantool.org/doc/dev_guide/box-protocol.html), for more information you can read them or basic documentation at [Tarantool manual](http://tarantool.org/doc/).
88

9-
Code architecture and some features in version 3 borrowed from the [ioTarantool](https://github.com/luin/ioTarantool).
9+
Code architecture and some features in version 3 borrowed from the [ioredis](https://github.com/luin/ioredis).
1010

1111
[msgpack-lite](https://github.com/kawanet/msgpack-lite) package used as MsgPack encoder/decoder.
1212

@@ -93,7 +93,7 @@ except when the connection is closed manually by `tarantool.disconnect()`.
9393
It's very flexible to control how long to wait to reconnect after disconnection
9494
using the `retryStrategy` option:
9595

96-
```Javascript
96+
```javascript
9797
var tarantool = new Tarantool({
9898
// This is the default value of `retryStrategy`
9999
retryStrategy: function (times) {
@@ -110,12 +110,12 @@ the return value represents how long (in ms) to wait to reconnect. When the
110110
return value isn't a number, node-tarantool-driver will stop trying to reconnect, and the connection
111111
will be lost forever if the user doesn't call `tarantool.connect()` manually.
112112

113-
**This feature is borrowed from the [ioTarantool](https://github.com/luin/ioTarantool)**
113+
**This feature is borrowed from the [ioredis](https://github.com/luin/ioredis)**
114114

115115
## Usage example
116116

117117
We use TarantoolConnection instance and connect before other operations. Methods call return promise(https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Promise). Available methods with some testing: select, update, replace, insert, delete, auth, destroy.
118-
```Javascript
118+
```javascript
119119
var TarantoolConnection = require('tarantool-driver');
120120
var conn = new TarantoolConnection('notguest:sesame@mail.ru:3301');
121121

lib/commands.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var {
99
} = require('./utils');
1010
var { encode: msgpackEncode } = require('msgpack-lite');
1111
var { codec } = require('./msgpack-extensions');
12-
// var _this;
1312

1413
function Commands() {}
1514
Commands.prototype.sendCommand = function () {};

0 commit comments

Comments
 (0)