Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a88dbe229 | ||
|
|
01697a19ea | ||
|
|
397b751b42 |
@ -53,7 +53,6 @@ function getConnection(opts, verbs, mySocket, retry) {
|
|||||||
var wspath = 'ws+unix://' + opts.sock + ':' + pathname + '?' + search;
|
var wspath = 'ws+unix://' + opts.sock + ':' + pathname + '?' + search;
|
||||||
// https://github.com/websockets/ws/blob/master/doc/ws.md#unix-domain-sockets
|
// https://github.com/websockets/ws/blob/master/doc/ws.md#unix-domain-sockets
|
||||||
// ws+unix:///absolule/path/to/uds_socket:/pathname?search_params
|
// ws+unix:///absolule/path/to/uds_socket:/pathname?search_params
|
||||||
console.log('ws connect', wspath);
|
|
||||||
ws = new WebSocket(wspath);
|
ws = new WebSocket(wspath);
|
||||||
|
|
||||||
ws.on('error', function (err) {
|
ws.on('error', function (err) {
|
||||||
|
|||||||
12
package.json
12
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sqlite3-cluster",
|
"name": "sqlite3-cluster",
|
||||||
"version": "2.1.0",
|
"version": "2.1.2",
|
||||||
"description": "A wrapper to enable the use of sqlite3 with node cluster via a socket server (i.e. for Raspberry Pi 2).",
|
"description": "A wrapper to enable the use of sqlite3 with node cluster via a socket server (i.e. for Raspberry Pi 2).",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/coolaj86/sqlite3-cluster.git"
|
"url": "git+https://git.coolaj86.com/coolaj86/sqlite3-cluster.js.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"sqlite3",
|
"sqlite3",
|
||||||
@ -18,12 +18,12 @@
|
|||||||
"cluster",
|
"cluster",
|
||||||
"rpi2"
|
"rpi2"
|
||||||
],
|
],
|
||||||
"author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.com/)",
|
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
|
||||||
"license": "Apache-2.0",
|
"license": "(MIT OR Apache-2.0)",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/coolaj86/sqlite3-cluster/issues"
|
"url": "https://git.coolaj86.com/coolaj86/sqlite3-cluster.js/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/coolaj86/sqlite3-cluster#readme",
|
"homepage": "https://git.coolaj86.com/coolaj86/sqlite3-cluster.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sqlite3": "^3.0.9",
|
"sqlite3": "^3.0.9",
|
||||||
"ws": "^2.3.1"
|
"ws": "^2.3.1"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user