Comments (3)
The default timeout for old workers is 1 hour. This is set so there is plenty of time for long file uploads to finish. You can make this shorter if you wish by seting opt.timeout to something else, e.g. 600 (10 minutes)
When NODE_ENV != production, the timeout is 1 second
edit: oh, apparently they're still doing work - are they still taking new requests too?
from recluster.
I added a test and new requests are only sent to new workers. Either that, or by some chance all of the 10 requests I send to the server arrive to the 2 new workers and none at the old.
Maybe your old workers are still working on old requests?
from recluster.
Fixed in v0.3.0
from recluster.
Related Issues (20)
- Multiple calls support HOT 6
- Backoff configuration may not guarantee the max time between respawns when workers die? HOT 4
- Maybe emit() function can become more clear? HOT 2
- recluster.terminate() accepts a callback as argument HOT 2
- Question: what's the correct way to gracefully shutdown a cluster and its children? HOT 3
- respawn and backoff with multiple workers HOT 2
- Daemon option HOT 2
- Respawn issue with two instances HOT 2
- Windows Support ?
- Catch Error on Cluster.reload()
- Question: How to know when all workers are ready/active? HOT 1
- Documentation for return type of activeWorkers() function is invalid
- Processes stack up on concurrent restarts HOT 5
- timeout does not work as documented HOT 5
- Add support for cwd?
- Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed on node 9.2.1 HOT 1
- recluster and nodemon on Mac OS X
- Push latest to NPM HOT 1
- Is this mondule still maintained? HOT 3
- Why execArgv is by default not process.execArgv ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recluster.