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 +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -2
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 *
|
|
16
|
+
processTimeout: z.number().default(5 * 1000),
|
|
17
17
|
});
|
|
18
18
|
export class Client {
|
|
19
19
|
#options;
|
package/package.json
CHANGED
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
|
|
100
|
+
* @default 5000 (5 seconds)
|
|
101
101
|
*/
|
|
102
|
-
processTimeout: z.number().default(5 *
|
|
102
|
+
processTimeout: z.number().default(5 * 1000), // 5 seconds
|
|
103
103
|
})
|
|
104
104
|
|
|
105
105
|
/**
|