Ignore source/extension, tracker icon and thumbnails requests from image queue
The server is not requesting these images through an extension; thus, it is not a problem to send them directly to the server since there is no problem of getting the server "stuck" due to extension rate limits.
This commit is contained in:
@@ -38,6 +38,7 @@ export interface SpinnerImageProps {
|
||||
shouldDecode?: boolean;
|
||||
useFetchApi?: boolean;
|
||||
disableCors?: boolean;
|
||||
ignoreQueue?: boolean;
|
||||
|
||||
priority?: Priority;
|
||||
|
||||
@@ -52,6 +53,7 @@ export const SpinnerImage = ({ ref, ...props }: SpinnerImageProps) => {
|
||||
shouldDecode,
|
||||
useFetchApi,
|
||||
disableCors,
|
||||
ignoreQueue,
|
||||
src,
|
||||
alt,
|
||||
onLoad,
|
||||
@@ -111,6 +113,7 @@ export const SpinnerImage = ({ ref, ...props }: SpinnerImageProps) => {
|
||||
shouldDecode,
|
||||
useFetchApi,
|
||||
disableCors,
|
||||
ignoreQueue,
|
||||
});
|
||||
|
||||
if (!imageRequest.fromCache) {
|
||||
|
||||
Reference in New Issue
Block a user