pixl-server-storage 3.1.17 → 3.1.18

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/package.json +1 -1
  2. package/transaction.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixl-server-storage",
3
- "version": "3.1.17",
3
+ "version": "3.1.18",
4
4
  "description": "A key/value/list storage component for the pixl-server framework.",
5
5
  "author": "Joseph Huckaby <jhuckaby@gmail.com>",
6
6
  "homepage": "https://github.com/jhuckaby/pixl-server-storage",
package/transaction.js CHANGED
@@ -535,7 +535,7 @@ module.exports = Class.create({
535
535
  this._transLock(path, true, function() {
536
536
  // got lock for transaction
537
537
  var id = '' + Math.floor(self.nextTransID++);
538
- var log_file = Path.join( self.transDir, "logs", id + '.log' );
538
+ var log_file = Path.join( self.transDir, "logs", process.pid + '-' + id + '.log' );
539
539
  var trans = { id: id, path: path, log: log_file, date: Tools.timeNow(), pid: process.pid };
540
540
 
541
541
  self.logDebug(5, "Beginning new transaction on: " + path, trans);