From 01173a03651b054cbb05a1dd430447ec66516548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Nesveda?= Date: Fri, 21 Jan 2022 12:30:15 +0100 Subject: [PATCH] feat(consts): remove unused consts These constants were not used anywhere but in internal applications, so I moved them directly to the application code, where they belong. --- packages/consts/src/consts.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/packages/consts/src/consts.ts b/packages/consts/src/consts.ts index 2d714e893..332cbd5c1 100644 --- a/packages/consts/src/consts.ts +++ b/packages/consts/src/consts.ts @@ -347,11 +347,6 @@ export const ME_USER_NAME_PLACEHOLDER = 'me'; */ export const REQUEST_QUEUE_HEAD_MAX_LIMIT = 1000; -/** - * Throttling period for mongo increment updates - */ -export const MONGO_INC_THROTTLED_INTERVAL_MILLIS = 5000; - /** * Dictionary of APIFY_XXX environment variable names. */ @@ -443,15 +438,6 @@ export const KEY_VALUE_STORE_KEYS = { */ export const ACTOR_LOG_MAX_CHARS = ACTOR_LIMITS.LOG_MAX_CHARS; -/** - * Types of customer request. - */ -export const CUSTOMER_REQUEST_TYPES = { - EXTRACT_DATA: 'EXTRACT_DATA', - AUTOMATION: 'AUTOMATION', - OTHER: 'OTHER', -} as const; - /** * Represents the maximum size in bytes of a request body (decompressed) * that will be accepted by the App and API servers. @@ -575,9 +561,6 @@ export const WEBHOOK_ALLOWED_PAYLOAD_VARIABLES = new Set([ 'resource', ]); -// This client key is used in request queue to indentify requests from Apify app UI. -export const APIFY_UI_CLIENT_KEY = 'apify-app-ui'; - // Max allowed size of files in multi-file editor export const MAX_MULTIFILE_BYTES = 3 * (1024 ** 2); // 3MB