{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/ec6fc91b12fe7068500f5859b79a585a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ec6fc91b12fe7068500f5859b79a585a","url":"https://api.github.com/users/0ctave","login":"0ctave","id":292569},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-11-01T23:23:37Z","comments":2,"closed_at":null,"url":"https://api.github.com/repos/LearnBoost/kue/issues/58","body":"How to do some \"garbage collection\" by removing old completed jobs, for example, those which are older than 1 hour?\r\nThanks!","html_url":"https://github.com/LearnBoost/kue/issues/58","number":58,"title":"Remove old jobs?","id":1395199,"created_at":"2011-08-12T14:45:48Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/a9ee038c2ea195139bb2c9e40477fa0f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a9ee038c2ea195139bb2c9e40477fa0f","url":"https://api.github.com/users/julesjanssen","login":"julesjanssen","id":492036},"updated_at":"2011-11-01T23:23:37Z","url":"https://api.github.com/repos/LearnBoost/kue/issues/comments/2597607","body":"You could let the job expire after x seconds by using Redis' EXPIRE command: http://redis.io/commands/expire","id":2597607,"created_at":"2011-11-01T23:23:37Z"}}