-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a "thumbnailrendered" event to simplify cleanup after thumbnail rendering (PR 12613 follow-up) #16470
Introduce a "thumbnailrendered" event to simplify cleanup after thumbnail rendering (PR 12613 follow-up) #16470
Conversation
…nail rendering (PR 12613 follow-up) The way that the cleanup was implemented in PR 12613 has always bothered me slightly, since the `isPageCached`-method that I introduced there always felt quite out-of-place in the `IPDFLinkService`-implementations. By introducing a new "thumbnailrendered" event, similar to the existing "pagerendered" one, we're able to move the cleanup handling into the `PDFViewer`-class instead.
28fbd0f
to
bc8523a
Compare
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/77db3d7e65ae36b/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/780596ead742b56/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/780596ead742b56/output.txt Total script time: 3.62 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/77db3d7e65ae36b/output.txt Total script time: 15.57 mins
|
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/53218d32585b947/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/53218d32585b947/output.txt Total script time: 1.29 mins Published |
Looks good! |
The way that the cleanup was implemented in PR #12613 has always bothered me slightly, since the
isPageCached
-method that I introduced there always felt quite out-of-place in theIPDFLinkService
-implementations.By introducing a new "thumbnailrendered" event, similar to the existing "pagerendered" one, we're able to move the cleanup handling into the
PDFViewer
-class instead.