{"action":"created","issue":{"url":"https://api.github.com/repos/pimcore/pimcore/issues/177","repository_url":"https://api.github.com/repos/pimcore/pimcore","labels_url":"https://api.github.com/repos/pimcore/pimcore/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/pimcore/pimcore/issues/177/comments","events_url":"https://api.github.com/repos/pimcore/pimcore/issues/177/events","html_url":"https://github.com/pimcore/pimcore/issues/177","id":95418512,"number":177,"title":"timeout should be a parameter and not set manually in the code","user":{"login":"brusch","id":142037,"avatar_url":"https://avatars.githubusercontent.com/u/142037?v=3","gravatar_id":"","url":"https://api.github.com/users/brusch","html_url":"https://github.com/brusch","followers_url":"https://api.github.com/users/brusch/followers","following_url":"https://api.github.com/users/brusch/following{/other_user}","gists_url":"https://api.github.com/users/brusch/gists{/gist_id}","starred_url":"https://api.github.com/users/brusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brusch/subscriptions","organizations_url":"https://api.github.com/users/brusch/orgs","repos_url":"https://api.github.com/users/brusch/repos","events_url":"https://api.github.com/users/brusch/events{/privacy}","received_events_url":"https://api.github.com/users/brusch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-07-16T11:58:29Z","updated_at":"2016-10-27T10:11:42Z","closed_at":"2016-10-27T10:11:35Z","body":"Hello all.\r\nWhen calculating previews for PDFs or Office documents, a timeout is set as a defaut to build previews such as : \r\n/usr/bin/timeout -k 1m 240s /usr/local/bin/gs -sDEVICE=png16m -dFirstPage=1 -dLastPage=1 -r200 -o /var/www/rec.pimcore.duodisplay.galilee.fr/website/var/tmp/document-image-cache/document_5670__thumbnail_1.png /var/www/rec.pimcore.duodisplay.galilee.fr/website/var/assets/orders/l-150155-39971/item-01/pattern-10698/current/flag-v-hit-s-10698.pdf\r\n\r\nHowever, 240s is sometimes not enough time to build a preview.\r\nThen, previews get killed and each time we re-open asset folders, previews try be be re-generated, causing a long long refreshment time.\r\n\r\nThis parameter should either be configurable from the backoffice, or you should remember the preview could not be done and therefore not try to do it again and again and again.\r\nIt would be good to be able to right click on an asset and force the building of the previews manually if not done. This would launch the command without any timeout."},"comment":{"url":"https://api.github.com/repos/pimcore/pimcore/issues/comments/256602108","html_url":"https://github.com/pimcore/pimcore/issues/177#issuecomment-256602108","issue_url":"https://api.github.com/repos/pimcore/pimcore/issues/177","id":256602108,"user":{"login":"brusch","id":142037,"avatar_url":"https://avatars.githubusercontent.com/u/142037?v=3","gravatar_id":"","url":"https://api.github.com/users/brusch","html_url":"https://github.com/brusch","followers_url":"https://api.github.com/users/brusch/followers","following_url":"https://api.github.com/users/brusch/following{/other_user}","gists_url":"https://api.github.com/users/brusch/gists{/gist_id}","starred_url":"https://api.github.com/users/brusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brusch/subscriptions","organizations_url":"https://api.github.com/users/brusch/orgs","repos_url":"https://api.github.com/users/brusch/repos","events_url":"https://api.github.com/users/brusch/events{/privacy}","received_events_url":"https://api.github.com/users/brusch/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T10:11:42Z","updated_at":"2016-10-27T10:11:42Z","body":"Obsolete."}}
{"actor":{"display_login":"brusch"}}