{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/horizon/issues/324","repository_url":"https://api.github.com/repos/laravel/horizon","labels_url":"https://api.github.com/repos/laravel/horizon/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/laravel/horizon/issues/324/comments","events_url":"https://api.github.com/repos/laravel/horizon/issues/324/events","html_url":"https://github.com/laravel/horizon/issues/324","id":315708172,"number":324,"title":"Monitoring can't display jobs list","user":{"login":"hjhfg1004","id":6139382,"avatar_url":"https://avatars0.githubusercontent.com/u/6139382?v=4","gravatar_id":"","url":"https://api.github.com/users/hjhfg1004","html_url":"https://github.com/hjhfg1004","followers_url":"https://api.github.com/users/hjhfg1004/followers","following_url":"https://api.github.com/users/hjhfg1004/following{/other_user}","gists_url":"https://api.github.com/users/hjhfg1004/gists{/gist_id}","starred_url":"https://api.github.com/users/hjhfg1004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjhfg1004/subscriptions","organizations_url":"https://api.github.com/users/hjhfg1004/orgs","repos_url":"https://api.github.com/users/hjhfg1004/repos","events_url":"https://api.github.com/users/hjhfg1004/events{/privacy}","received_events_url":"https://api.github.com/users/hjhfg1004/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-19T02:44:37Z","updated_at":"2018-04-20T03:49:32Z","closed_at":null,"author_association":"NONE","body":"I found hundreds of jobs in a queue but the queue could not consume them. \r\nThen i navigate to monitoring page to check job's status，But the job list is keep loading.\r\nI check list api response found these:\r\n![tmp7aba387b](https://user-images.githubusercontent.com/6139382/38968255-29934b08-43bd-11e8-8ad6-e0eea8a45a33.png)\r\nAnyone has idea for this?\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/horizon/issues/comments/382965608","html_url":"https://github.com/laravel/horizon/issues/324#issuecomment-382965608","issue_url":"https://api.github.com/repos/laravel/horizon/issues/324","id":382965608,"user":{"login":"hjhfg1004","id":6139382,"avatar_url":"https://avatars0.githubusercontent.com/u/6139382?v=4","gravatar_id":"","url":"https://api.github.com/users/hjhfg1004","html_url":"https://github.com/hjhfg1004","followers_url":"https://api.github.com/users/hjhfg1004/followers","following_url":"https://api.github.com/users/hjhfg1004/following{/other_user}","gists_url":"https://api.github.com/users/hjhfg1004/gists{/gist_id}","starred_url":"https://api.github.com/users/hjhfg1004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjhfg1004/subscriptions","organizations_url":"https://api.github.com/users/hjhfg1004/orgs","repos_url":"https://api.github.com/users/hjhfg1004/repos","events_url":"https://api.github.com/users/hjhfg1004/events{/privacy}","received_events_url":"https://api.github.com/users/hjhfg1004/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T03:49:32Z","updated_at":"2018-04-20T03:49:32Z","author_association":"NONE","body":"I already found a solution to my problem.\r\nin `config/horizon.php `:\r\n```php\r\n/*\r\n    |--------------------------------------------------------------------------\r\n    | Job Trimming Times\r\n    |--------------------------------------------------------------------------\r\n    |\r\n    | Here you can configure for how long (in minutes) you desire Horizon to\r\n    | persist the recent and failed jobs. Typically, recent jobs are kept\r\n    | for one hour while all failed jobs are stored for an entire week.\r\n    |\r\n    */\r\n\r\n    'trim' => [\r\n        'recent' => 60,\r\n        'failed' => 10080,\r\n    ],\r\n```\r\n\r\nThe `recent` key has effect on horizon job's expire time, default value is too short for me.\r\nI raised it up to 180 and the problem resolved.\r\n"}}
{"actor":{"display_login":"hjhfg1004"}}