aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
Commit message (Collapse)AuthorAgeFilesLines
* Fix HLS re transcoding with object storage enabledChocobozzz2022-02-011-4/+13
|
* Prevent HLS transcoding after webtorrent transcodingChocobozzz2022-02-011-4/+8
|
* Add ability to filter my imports by target URLChocobozzz2022-01-191-4/+4
|
* Add ability to cancel & delete video importsChocobozzz2022-01-192-14/+27
|
* Fix bull redis optionsChocobozzz2022-01-141-3/+9
|
* Fix audio transcoding with video only fileChocobozzz2022-01-061-9/+16
|
* Fix testsChocobozzz2021-12-281-24/+14
|
* Cleanup unavailable remote AP resourceChocobozzz2021-12-281-13/+24
|
* Fix shared importsChocobozzz2021-12-243-7/+8
|
* Fix video import transcodingChocobozzz2021-12-231-2/+2
|
* Don't stuck state when move transcoding job failedChocobozzz2021-12-231-11/+18
|
* Fix audio only transcodingChocobozzz2021-12-231-5/+11
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-162-2/+2
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Update torrent metadata on video updateChocobozzz2021-12-081-2/+2
|
* Fix pending transcoding with failed jobChocobozzz2021-12-031-13/+14
|
* Fix transcoding job count inconsistencyChocobozzz2021-11-291-7/+7
|
* Add ability to run transcoding jobsChocobozzz2021-11-182-8/+13
|
* Add ability to remove hls/webtorrent filesChocobozzz2021-11-182-2/+2
|
* Refactor video viewsChocobozzz2021-11-092-29/+19
| | | | | | | | Introduce viewers attribute for live videos Count views for live videos Reduce delay to see the viewer update for lives Add ability to configure video views buffer interval and view ip expiration
* Add transcoding fail message in clientChocobozzz2021-11-092-17/+4
|
* video: add video stranscoding_failed statekontrollanten2021-11-091-2/+9
|
* Add migrate-to-object-storage script (#4481)kontrollanten2021-11-091-1/+7
| | | | | | | | | | | | | | | | | | * add migrate-to-object-storage-script closes #4467 * add migrate-to-unique-playlist-filenames script * fix(migrate-to-unique-playlist-filenames): update master/segments256 run updateMasterHLSPlaylist and updateSha256VODSegments after file rename. * Improve move to object storage scripts * PR remarks Co-authored-by: Chocobozzz <me@florianbigard.com>
* prevent multiple post-process triggering of upload-resumable (#4175)Rigel Kent2021-10-251-0/+2
| | | | | | | | | * prevent multiple post-process triggering of upload-resumable * switch from 409 to 503 for upload being processed * Improve resumable upload check Co-authored-by: Chocobozzz <me@florianbigard.com>
* Rewrite youtube-dl importChocobozzz2021-10-221-3/+3
| | | | | | | | Use python3 binary Allows to use a custom youtube-dl release URL Allows to use yt-dlp (youtube-dl fork) Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY env variables
* Fix lintChocobozzz2021-10-141-1/+1
|
* Fix user subscription follows countChocobozzz2021-10-141-13/+5
|
* Process slow followers in unicast job queueChocobozzz2021-10-132-9/+13
|
* Fix infohash with object storageChocobozzz2021-09-071-0/+4
|
* More robust webtorrent redundancy downloadChocobozzz2021-09-061-1/+1
| | | | | Avoid issues with inconsistencies between magnet infohash and torrent infohash, blocking webtorrent upload that will timeout
* esModuleInterop to trueChocobozzz2021-08-2715-50/+50
|
* Better logs for transcodingChocobozzz2021-08-261-13/+28
|
* Optimize torrent URL updateChocobozzz2021-08-181-2/+2
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-176-82/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for saving video files to object storage * Add support for custom url generation on s3 stored files Uses two config keys to support url generation that doesn't directly go to (compatible s3). Can be used to generate urls to any cache server or CDN. * Upload files to s3 concurrently and delete originals afterwards * Only publish after move to object storage is complete * Use base url instead of url template * Fix mistyped config field * Add rudenmentary way to download before transcode * Implement Chocobozzz suggestions https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478 The remarks in question: Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET) I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs) https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs * Import correct function * Support multipart upload * Remove import of node 15.0 module stream/promises * Extend maximum upload job length Using the same value as for redundancy downloading seems logical * Use dynamic part size for really large uploads Also adds very small part size for local testing * Fix decreasePendingMove query * Resolve various PR comments * Move to object storage after optimize * Make upload size configurable and increase default * Prune webtorrent files that are stored in object storage * Move files after transcoding jobs * Fix federation * Add video path manager * Support move to external storage job in client * Fix live object storage tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Improve target bitrate calculationChocobozzz2021-08-064-12/+12
|
* Remove deprecated transcoding job namesChocobozzz2021-08-051-12/+1
|
* Refactor notifierChocobozzz2021-08-021-2/+2
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-263-9/+12
|
* Generate random uuid for video filesChocobozzz2021-07-262-4/+4
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-6/+2
|
* Refactor live managerChocobozzz2021-06-171-14/+5
|
* Fix lintChocobozzz2021-06-151-1/+0
|
* Fix missing transactionsChocobozzz2021-06-151-27/+23
|
* Use a global request timeoutChocobozzz2021-06-152-4/+1
|
* Cache refresh actor promiseChocobozzz2021-06-091-1/+1
|
* Fix lintChocobozzz2021-06-082-2/+0
|
* Fix video upload with a capitalized extChocobozzz2021-06-082-2/+4
|
* fetch -> loadChocobozzz2021-06-031-2/+2
| | | | avoid confusion with AP fetch functions
* Move middleware utils in middlewaresChocobozzz2021-06-032-3/+2
| | | | helpers modules should not import models
* Refactor AP actorsChocobozzz2021-06-033-4/+4
|