@based/db-server
Advanced tools
Comparing version 2.0.1 to 3.1.0
@@ -62,3 +62,3 @@ import { EventEmitter } from 'events'; | ||
process.on('SIGINT', () => { | ||
console.info('Got SIGINT, closing redis server'); | ||
console.info('Got SIGINT, closing selvad server'); | ||
if (server.pm) { | ||
@@ -73,3 +73,3 @@ server.pm.kill('SIGINT'); | ||
process.on('SIGTERM', () => { | ||
console.info('Got SIGTERM, closing redis server'); | ||
console.info('Got SIGTERM, closing selvad server'); | ||
if (server.pm) { | ||
@@ -92,3 +92,3 @@ server.pm.kill('SIGTERM'); | ||
await server.start(opts); | ||
// add singnal handlers in selva itself to close redis | ||
// add signal handlers in selva itself to close selvad | ||
console.log('ADDING SIGNAL HANDLERS'); | ||
@@ -95,0 +95,0 @@ addSignalHandlers(server); |
{ | ||
"name": "@based/db-server", | ||
"version": "2.0.1", | ||
"version": "3.1.0", | ||
"license": "MIT", | ||
@@ -29,3 +29,2 @@ "main": "dist/src/index.js", | ||
"devDependencies": { | ||
"@saulx/tsconfig": "^1.0.6", | ||
"@types/node": "^17.0.23", | ||
@@ -37,6 +36,6 @@ "ts-node": "10.9.1", | ||
"optionalDependencies": { | ||
"@based/db-server-linux-x64": "2.0.1", | ||
"@based/db-server-darwin-x64": "2.0.1", | ||
"@based/db-server-darwin-arm64": "2.0.1" | ||
"@based/db-server-linux-x64": "3.1.0", | ||
"@based/db-server-darwin-x64": "3.1.0", | ||
"@based/db-server-darwin-arm64": "3.1.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
8621