jsir 2.6.1 → 2.6.2

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/deps/room.js +3 -3
  2. package/package.json +1 -1
package/deps/room.js CHANGED
@@ -329,6 +329,9 @@ async function initRoom() {
329
329
  roomUpdateTouchTime = true;
330
330
  }
331
331
  })
332
+ if (defTasks) {
333
+ fileLock(roomTasksLockKey, processTasks, false)
334
+ }
332
335
 
333
336
  if (roomUpdateTouchTime) {
334
337
  await fileLock(updateRoomInfoLockKey, updateRoomInfo, false)
@@ -336,9 +339,6 @@ async function initRoom() {
336
339
  if (setting.serviceFns[setting.configMainFnKey] && !getConfig("configMain")) {
337
340
  fileLock(syncConfigsLockKey, syncConfigs, false);
338
341
  }
339
- if (defTasks) {
340
- fileLock(roomTasksLockKey, processTasks, false)
341
- }
342
342
  }
343
343
 
344
344
  await syncSetting();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsir",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "JavaScript Script Management Tool",
5
5
  "main": "index.js",
6
6
  "scripts": {