push
push copied to clipboard
Push notifications for the web
To be honest, I don't know what he can do.
``` 1. User signs into Firefox with BrowserID. 2. Notifications are turned on for the first time, so Firefox sends a BrowserID assertion to the token server. 3. Firefox gets...
1. Stop accepting new connections. (remove from /nodes/) 2. Send a close message to all the sockets. 3. Die.
The database returns the five least-used socket servers right now, but always in the same order. Randomizing the top five should get the job done without triggering a thundering herd...
I wanted to do this in the `requests` hook, but the hook code catches exceptions and turns them into warnings.