You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
BACKGROUND. After an add, image transformation jobs are run in the background. Also during image repository initialization, untransformed images are transformed in background.
ON_DEMAND. After an add, no image transformation is run. During fetch, if no transformed image is found, a transformation job is run. If the transformation takes less than threshold (say 500 ms), then the image is returned. If the transformation takes more than threshold, then a null or not found image is returned. However when the transformation eventually completes, it should be good for next request. Threshold is not accumulated, i.e. it is per method call or image, not per "web request".
There should be 3 modes :
PREPROCESS. This is what we're doing right now.BACKGROUND. After an add, image transformation jobs are run in the background. Also during image repository initialization, untransformed images are transformed in background.ON_DEMAND. After an add, no image transformation is run. During fetch, if no transformed image is found, a transformation job is run. If the transformation takes less than threshold (say 500 ms), then the image is returned. If the transformation takes more than threshold, then a null or not found image is returned. However when the transformation eventually completes, it should be good for next request. Threshold is not accumulated, i.e. it is per method call or image, not per "web request".