-
按照预期,pool.Wait()应该会等待所有任务运行结束
实际情况在少量任务时会出现任务还没有开始执行,pool.Wait()就结束了
代码部分
以下是从日志上检查到的异常情况的示例
异常情况1,任务已添加,但是任务没有运行,pool.Wait()直接就结束了
异常情况2,任务已添加,pool.Wait()提前结束,任务才开始调度运行
-
### Which Cloudflare product(s) does this pertain to?
Workers Vitest Integration
### What version(s) of the tool(s) are you using?
1.2.0 [@cloudflare/vitest-pool-workers], 3.34.2 [wrangler]
### Wh…
-
Running in AWS you can run pgbouncers behind an ELB to load balance between bouncers, provide redundancy and ease configuration for new instances since they can all point to the ELB. However you lose …
-
We're seeing an issue running Simple Generic Worker (v60.3.4) on macOS. The worker will retrieve and successfully complete a number of jobs but something eventually happens that makes it stop.
We s…
-
### Is this a new feature, an improvement, or a change to existing functionality?
New Feature
### How would you describe the priority of this feature request
Nice to have (e.g. Adoption is possible…
-
When creating a Pool, each process can run a custom `initializer` function where we can pass the function `func` and the `args` and `kwargs` which don't change from task to task. These can be set to g…
-
Message channel becomes a performance bottleneck under heavy messages rate. See #767.
Shared array buffer can act as a shared memory for `worker-threads` but is not friendly to manipulate.
Cluste…
-
### Expected Behavior
We should be able to try-with-resource around a worker and a scheduler in tests for eg. (but also ensure proper shutdown of the app).
### Actual Behaviour
Closing a worker wil…
-
```
I can't get multiprocessing to work in PyScripter. I have described two
examples below.
Example 1 - multiprocessing.Process
What steps will reproduce the problem?
1. Try to run the code exampl…
-
```
I can't get multiprocessing to work in PyScripter. I have described two
examples below.
Example 1 - multiprocessing.Process
What steps will reproduce the problem?
1. Try to run the code exampl…