{"action":"opened","issue":{"url":"https://api.github.com/repos/0rpc/zerorpc-python/issues/121","labels_url":"https://api.github.com/repos/0rpc/zerorpc-python/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/0rpc/zerorpc-python/issues/121/comments","events_url":"https://api.github.com/repos/0rpc/zerorpc-python/issues/121/events","html_url":"https://github.com/0rpc/zerorpc-python/issues/121","id":97891116,"number":121,"title":"Flush timed-out messages","user":{"login":"kmcheung12","id":5036695,"avatar_url":"https://avatars.githubusercontent.com/u/5036695?v=3","gravatar_id":"","url":"https://api.github.com/users/kmcheung12","html_url":"https://github.com/kmcheung12","followers_url":"https://api.github.com/users/kmcheung12/followers","following_url":"https://api.github.com/users/kmcheung12/following{/other_user}","gists_url":"https://api.github.com/users/kmcheung12/gists{/gist_id}","starred_url":"https://api.github.com/users/kmcheung12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmcheung12/subscriptions","organizations_url":"https://api.github.com/users/kmcheung12/orgs","repos_url":"https://api.github.com/users/kmcheung12/repos","events_url":"https://api.github.com/users/kmcheung12/events{/privacy}","received_events_url":"https://api.github.com/users/kmcheung12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-29T09:05:14Z","updated_at":"2015-07-29T09:05:14Z","closed_at":null,"body":"Hi,\r\n\r\nI am following https://github.com/0rpc/zerorpc-node/issues/19\r\n\r\nI'm encountering same situation. \r\n\r\nHow to cancel client requests, which are sent during server downtime, when my server is brought back to live? Right now we are relying on timestamp. But I think simply dropping the message would be a more elegant way of handling.\r\n\r\nYou mentioned it can be done with \"hooks\". Can you elaborate more on this?\r\n\r\nThanks"}}