@rip-lang/server 1.3.27 → 1.3.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/server.rip +1 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rip-lang/server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.29",
|
|
4
4
|
"description": "Pure Rip web framework and application server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "api.rip",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"author": "Steve Shreeve <steve.shreeve@gmail.com>",
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"rip-lang": ">=3.13.
|
|
48
|
+
"rip-lang": ">=3.13.45"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"api.rip",
|
package/server.rip
CHANGED
|
@@ -503,9 +503,6 @@ class Manager
|
|
|
503
503
|
@dbUrl = null
|
|
504
504
|
@appWatchers = new Map()
|
|
505
505
|
|
|
506
|
-
process.on 'SIGTERM', => @shutdown!
|
|
507
|
-
process.on 'SIGINT', => @shutdown!
|
|
508
|
-
|
|
509
506
|
start: ->
|
|
510
507
|
@stop!
|
|
511
508
|
|
|
@@ -722,7 +719,6 @@ class Manager
|
|
|
722
719
|
return if @shuttingDown
|
|
723
720
|
@shuttingDown = true
|
|
724
721
|
@stop!
|
|
725
|
-
try fetch!(@dbUrl + '/shutdown', { method: 'POST' }) if @dbUrl catch then null
|
|
726
722
|
process.exit(0)
|
|
727
723
|
|
|
728
724
|
getEntryMtime: ->
|
|
@@ -1285,6 +1281,7 @@ main = ->
|
|
|
1285
1281
|
try unlinkSync(pidFile) catch then null
|
|
1286
1282
|
svr.stop()
|
|
1287
1283
|
mgr.stop!
|
|
1284
|
+
try fetch!(mgr.dbUrl + '/shutdown', { method: 'POST' }) if mgr.dbUrl catch then null
|
|
1288
1285
|
process.exit(0)
|
|
1289
1286
|
|
|
1290
1287
|
process.on 'SIGTERM', cleanup
|