diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-25 15:05:18 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-25 18:41:17 +0100 |
commit | 94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4 (patch) | |
tree | 32a9148e0e4567f0c4ffae0412cbed20b84e8873 /server/initializers/database.ts | |
parent | d765fafc3faf0db9818eb1a07161df1cb1bc0efa (diff) | |
download | PeerTube-94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4.tar.gz PeerTube-94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4.tar.zst PeerTube-94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4.zip |
Move job queue to redis
We'll use it as cache in the future.
/!\ You'll loose your old jobs (pending jobs too) so upgrade only when
you don't have pending job anymore.
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index 852db68a0..b537ee59a 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -9,7 +9,6 @@ import { ActorModel } from '../models/activitypub/actor' | |||
9 | import { ActorFollowModel } from '../models/activitypub/actor-follow' | 9 | import { ActorFollowModel } from '../models/activitypub/actor-follow' |
10 | import { ApplicationModel } from '../models/application/application' | 10 | import { ApplicationModel } from '../models/application/application' |
11 | import { AvatarModel } from '../models/avatar/avatar' | 11 | import { AvatarModel } from '../models/avatar/avatar' |
12 | import { JobModel } from '../models/job/job' | ||
13 | import { OAuthClientModel } from '../models/oauth/oauth-client' | 12 | import { OAuthClientModel } from '../models/oauth/oauth-client' |
14 | import { OAuthTokenModel } from '../models/oauth/oauth-token' | 13 | import { OAuthTokenModel } from '../models/oauth/oauth-token' |
15 | import { ServerModel } from '../models/server/server' | 14 | import { ServerModel } from '../models/server/server' |
@@ -61,7 +60,6 @@ async function initDatabaseModels (silent: boolean) { | |||
61 | ActorFollowModel, | 60 | ActorFollowModel, |
62 | AvatarModel, | 61 | AvatarModel, |
63 | AccountModel, | 62 | AccountModel, |
64 | JobModel, | ||
65 | OAuthClientModel, | 63 | OAuthClientModel, |
66 | OAuthTokenModel, | 64 | OAuthTokenModel, |
67 | ServerModel, | 65 | ServerModel, |