Add ability to limit videos history size
Showing
- config/default.yaml 7 additions, 0 deletionsconfig/default.yaml
- config/production.yaml.example 6 additions, 0 deletionsconfig/production.yaml.example
- server.ts 2 additions, 0 deletionsserver.ts
- server/controllers/api/users/my-history.ts 1 addition, 1 deletionserver/controllers/api/users/my-history.ts
- server/helpers/core-utils.ts 1 addition, 1 deletionserver/helpers/core-utils.ts
- server/helpers/custom-validators/videos.ts 2 additions, 1 deletionserver/helpers/custom-validators/videos.ts
- server/initializers/config.ts 8 additions, 3 deletionsserver/initializers/config.ts
- server/initializers/constants.ts 5 additions, 4 deletionsserver/initializers/constants.ts
- server/lib/schedulers/abstract-scheduler.ts 2 additions, 1 deletionserver/lib/schedulers/abstract-scheduler.ts
- server/lib/schedulers/remove-old-history-scheduler.ts 32 additions, 0 deletionsserver/lib/schedulers/remove-old-history-scheduler.ts
- server/middlewares/cache.ts 2 additions, 2 deletionsserver/middlewares/cache.ts
- server/models/account/user-video-history.ts 13 additions, 1 deletionserver/models/account/user-video-history.ts
- server/tests/api/videos/videos-history.ts 32 additions, 2 deletionsserver/tests/api/videos/videos-history.ts
- shared/utils/videos/videos.ts 3 additions, 1 deletionshared/utils/videos/videos.ts
Loading
Please register or sign in to comment