Closed (fixed)
Project:
Warmer
Version:
8.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2020 at 10:51 UTC
Updated:
12 Aug 2020 at 07:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
utor.io commentedComment #4
utor.io commentedFixed some CS issues, added default config and imroved naming. Unfortunately I can't get the tests to run properly on my local environment right now, so let's hope tests are green :D
Comment #5
utor.io commentedComment #6
e0ipsoThis is awesome. I have been meaning to address this for a while. I wonder if we can remove the TODO item in favor of creating a ticket, or fixing it here. I have second thoughts about making the assync feature configurable, maybe we should make it always async if that is available to all Drupal installs.
Back to needs work to get clarification about the questions above.
Comment #7
utor.io commentedAlright, I made the async requests mandatory, removed the TODO (feel free to create a ticket for it :)) and added a message after successful cache warming.
Comment #9
utor.io commentedOh, I used a function that's only available for php >= 7.3. Fixed that
Comment #11
e0ipsoAny guesses on why tests are failing?
Comment #12
utor.io commentedYes, that was caused by a missing onReject callback. Fixed this and also fixed some CS issues.
Comment #13
utor.io commentedWhoopsie, deleted composer.json...
Comment #14
e0ipsoI really like this change. My only question is weather or not we want to drop the Make asyc requests checkbox, and only allow configuring the number of parallel requests.
I will let my co-maintainer decide on that sense, unless there is a technical point I am missing that you Arthur want to clarify in that regard.
Thanks again for this awesome patch!!
Comment #15
utor.io commentedNo there is no technical reason for not making async requests mandatory. I just wasn't sure how positive your reception to this change will be, so I decided to go with a smooth introduction of this feature :D
Updated the patch to get rid of that option completely.
Comment #16
e0ipsoThis looks good. There is a debug log statement left by accident that I may remove on commit.
Comment #17
e0ipsoThis was merged to the new release with minor changes.