LearnBoost / up

Zero-downtime reloads and requests load balancer based on distribute.
540 stars 73 forks source link

Fixing reload to no longer send requests to old workers #45

Closed sbader closed 12 years ago

sbader commented 12 years ago

It looks like there was an issue with reloading introduced recently. Currently when the server reloads, old workers are still sent requests until they hit their timeout.

I updated the reload test to bring out the issue and added back the terminating case in spawnWorker to resolve it.

rauchg commented 12 years ago

Hot.

rauchg commented 12 years ago

Thanks a lot @sbader

sbader commented 12 years ago

No problem, but also, thank you @guille, we've been using up in production for a while now, and it's been great.

rauchg commented 12 years ago

:+1: