{"action":"created","issue":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/384","repository_url":"https://api.github.com/repos/SocketCluster/socketcluster","labels_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/384/comments","events_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/384/events","html_url":"https://github.com/SocketCluster/socketcluster/issues/384","id":304335042,"number":384,"title":"Hold HTTP requests until a worker can handle them","user":{"login":"wmertens","id":54934,"avatar_url":"https://avatars2.githubusercontent.com/u/54934?v=4","gravatar_id":"","url":"https://api.github.com/users/wmertens","html_url":"https://github.com/wmertens","followers_url":"https://api.github.com/users/wmertens/followers","following_url":"https://api.github.com/users/wmertens/following{/other_user}","gists_url":"https://api.github.com/users/wmertens/gists{/gist_id}","starred_url":"https://api.github.com/users/wmertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmertens/subscriptions","organizations_url":"https://api.github.com/users/wmertens/orgs","repos_url":"https://api.github.com/users/wmertens/repos","events_url":"https://api.github.com/users/wmertens/events{/privacy}","received_events_url":"https://api.github.com/users/wmertens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-12T11:31:16Z","updated_at":"2018-04-08T05:55:12Z","closed_at":"2018-04-07T23:35:35Z","author_association":"NONE","body":"When I send SIGUSR2 to the server, and then try to connect on HTTP, it will immediately fail until a worker started.\r\n\r\nCan the behavior be changed so that when there are no workers available, the request is held for a bit? It takes 7 seconds for a worker to start, short enough to just hold the request but too long to go unnoticed."},"comment":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/comments/379522909","html_url":"https://github.com/SocketCluster/socketcluster/issues/384#issuecomment-379522909","issue_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/384","id":379522909,"user":{"login":"wmertens","id":54934,"avatar_url":"https://avatars2.githubusercontent.com/u/54934?v=4","gravatar_id":"","url":"https://api.github.com/users/wmertens","html_url":"https://github.com/wmertens","followers_url":"https://api.github.com/users/wmertens/followers","following_url":"https://api.github.com/users/wmertens/following{/other_user}","gists_url":"https://api.github.com/users/wmertens/gists{/gist_id}","starred_url":"https://api.github.com/users/wmertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmertens/subscriptions","organizations_url":"https://api.github.com/users/wmertens/orgs","repos_url":"https://api.github.com/users/wmertens/repos","events_url":"https://api.github.com/users/wmertens/events{/privacy}","received_events_url":"https://api.github.com/users/wmertens/received_events","type":"User","site_admin":false},"created_at":"2018-04-08T05:55:12Z","updated_at":"2018-04-08T05:55:12Z","author_association":"NONE","body":"I already use nginx as a proxy, it doesn't do that either. It seemed to me\nthat sc is in a good position to do this; or is that hard due to its\narchitecture?\n\nCould you point me to a starting point in the code where something like\nthis could be implemented?\n\nOn Sun, Apr 8, 2018, 1:35 AM Jonathan Gros-Dubois, <notifications@github.com>\nwrote:\n\n> Closed #384 <https://github.com/SocketCluster/socketcluster/issues/384>.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/SocketCluster/socketcluster/issues/384#event-1562381654>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AADWliwFVzXyKwIS0MS9fcXp9_HG1b4pks5tmU1LgaJpZM4Smen4>\n> .\n>\n"}}
{"actor":{"display_login":"wmertens"}}