From 608624252466acf9f1d9ee1c1170bd4fe4d18d18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 11:00:25 +0100 Subject: Rename Pod -> Server --- server/initializers/constants.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'server/initializers/constants.ts') 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' import { VideoRateType, - RequestEndpoint, - RequestVideoEventType, - RequestVideoQaduType, - RemoteVideoRequestType, JobState, JobCategory } from '../../shared/models' @@ -220,7 +216,7 @@ const VIDEO_MIMETYPE_EXT = { // --------------------------------------------------------------------------- -// Score a pod has when we create it as a friend +// Score a server has when we create it as a friend const FRIEND_SCORE = { BASE: 100, MAX: 1000 @@ -243,7 +239,7 @@ const ACTIVITY_PUB = { // --------------------------------------------------------------------------- // Number of points we add/remove from a friend after a successful/bad request -const PODS_SCORE = { +const SERVERS_SCORE = { PENALTY: -10, BONUS: 10 } @@ -352,7 +348,7 @@ export { OAUTH_LIFETIME, OPENGRAPH_AND_OEMBED_COMMENT, PAGINATION_COUNT_DEFAULT, - PODS_SCORE, + SERVERS_SCORE, PREVIEWS_SIZE, REMOTE_SCHEME, ACTIVITY_PUB_ACCEPT_HEADER, -- cgit v1.2.3