duron 0.2.1 → 0.2.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.
package/dist/client.js CHANGED
@@ -13,7 +13,7 @@ const BaseOptionsSchema = z.object({
13
13
  migrateOnStart: z.boolean().default(true),
14
14
  recoverJobsOnStart: z.boolean().default(true),
15
15
  multiProcessMode: z.boolean().default(false),
16
- processTimeout: z.number().default(5 * 60 * 1000),
16
+ processTimeout: z.number().default(5 * 1000),
17
17
  });
18
18
  export class Client {
19
19
  #options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "duron",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
package/src/client.ts CHANGED
@@ -97,9 +97,9 @@ const BaseOptionsSchema = z.object({
97
97
  * Timeout in milliseconds to wait for process ping responses in multi-process mode.
98
98
  * Processes that don't respond within this timeout will have their jobs recovered.
99
99
  *
100
- * @default 300000 (5 minutes)
100
+ * @default 5000 (5 seconds)
101
101
  */
102
- processTimeout: z.number().default(5 * 60 * 1000),
102
+ processTimeout: z.number().default(5 * 1000), // 5 seconds
103
103
  })
104
104
 
105
105
  /**