aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts10
1 files changed, 3 insertions, 7 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 4a49c1ab3..99da95ab9 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -6,10 +6,6 @@ import { root, isTestInstance } from '../helpers/core-utils'
6 6
7import { 7import {
8 VideoRateType, 8 VideoRateType,
9 RequestEndpoint,
10 RequestVideoEventType,
11 RequestVideoQaduType,
12 RemoteVideoRequestType,
13 JobState, 9 JobState,
14 JobCategory 10 JobCategory
15} from '../../shared/models' 11} from '../../shared/models'
@@ -220,7 +216,7 @@ const VIDEO_MIMETYPE_EXT = {
220 216
221// --------------------------------------------------------------------------- 217// ---------------------------------------------------------------------------
222 218
223// Score a pod has when we create it as a friend 219// Score a server has when we create it as a friend
224const FRIEND_SCORE = { 220const FRIEND_SCORE = {
225 BASE: 100, 221 BASE: 100,
226 MAX: 1000 222 MAX: 1000
@@ -243,7 +239,7 @@ const ACTIVITY_PUB = {
243// --------------------------------------------------------------------------- 239// ---------------------------------------------------------------------------
244 240
245// Number of points we add/remove from a friend after a successful/bad request 241// Number of points we add/remove from a friend after a successful/bad request
246const PODS_SCORE = { 242const SERVERS_SCORE = {
247 PENALTY: -10, 243 PENALTY: -10,
248 BONUS: 10 244 BONUS: 10
249} 245}
@@ -352,7 +348,7 @@ export {
352 OAUTH_LIFETIME, 348 OAUTH_LIFETIME,
353 OPENGRAPH_AND_OEMBED_COMMENT, 349 OPENGRAPH_AND_OEMBED_COMMENT,
354 PAGINATION_COUNT_DEFAULT, 350 PAGINATION_COUNT_DEFAULT,
355 PODS_SCORE, 351 SERVERS_SCORE,
356 PREVIEWS_SIZE, 352 PREVIEWS_SIZE,
357 REMOTE_SCHEME, 353 REMOTE_SCHEME,
358 ACTIVITY_PUB_ACCEPT_HEADER, 354 ACTIVITY_PUB_ACCEPT_HEADER,