daveappserver 0.6.35 → 0.6.37

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.
Files changed (2) hide show
  1. package/appserver.js +3 -3
  2. package/package.json +1 -1
package/appserver.js CHANGED
@@ -1,4 +1,4 @@
1
- var myVersion = "0.6.35", myProductName = "daveAppServer";
1
+ var myVersion = "0.6.37", myProductName = "daveAppServer";
2
2
 
3
3
  exports.start = startup;
4
4
  exports.notifySocketSubscribers = notifySocketSubscribers;
@@ -1077,7 +1077,7 @@ function cleanFileStats (stats) { //4/19/21 by DW
1077
1077
  }
1078
1078
  function deletePendingConfirmation (item, callback) { //8/14/23 by DW
1079
1079
  if (config.flUseDatabaseForConfirmations) {
1080
- const sqltext = "update pendingConfirmations set flDeleted = true where magicString = " + davesql.encode (item.magicString) + ";"
1080
+ const sqltext = "delete from pendingConfirmations where magicString = " + davesql.encode (item.magicString) + ";"; //8/15/23 by DW
1081
1081
  davesql.runSqltext (sqltext, function (err, result) {
1082
1082
  if (err) {
1083
1083
  if (callback !== undefined) {
@@ -1097,7 +1097,7 @@ function cleanFileStats (stats) { //4/19/21 by DW
1097
1097
  }
1098
1098
  function checkPendingConfirmations (callback) { //8/14/23 by DW
1099
1099
  if (config.flUseDatabaseForConfirmations) {
1100
- const sqltext = "delete from pendingConfirmations where flDeleted = true or whenCreated < now() - interval 1 hour;";
1100
+ const sqltext = "delete from pendingConfirmations where whenCreated < now() - interval 1 hour;";
1101
1101
  davesql.runSqltext (sqltext, function (err, result) {
1102
1102
  if (err) {
1103
1103
  if (callback !== undefined) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "daveappserver",
3
3
  "description": "Factored code that was appearing in all my servers.",
4
- "version": "0.6.35",
4
+ "version": "0.6.37",
5
5
  "main": "appserver.js",
6
6
  "repository": {
7
7
  "type" : "git",