aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
Commit message (Collapse)AuthorAgeFilesLines
* Increase old jobs to delete per hourChocobozzz2022-11-281-2/+2
|
* Delete completed/failed jobs directly from bullmqChocobozzz2022-11-231-7/+39
|
* Merge branch 'release/4.3.0' into developChocobozzz2022-11-161-2/+2
|\
| * Fix broadcasting in parallel viewsChocobozzz2022-11-161-2/+2
| |
* | Fix server lintChocobozzz2022-11-152-2/+2
| |
* | refactor(server): redis > ioredis (#5371)kontrollanten2022-11-141-15/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(server): redis > ioredis * refactor(JobQueue): reuse redis connection builder * fix(redisio) * fix(redis): setValue * feat(redis): showFriendlyErrorStack * feat(redis): auto pipelining https://github.com/luin/ioredis/blob/308017a6b9429c16b074e03e70f5524499476fa9/README.md#autopipelining * dont use autopipelining for bullmq * ioredis events
* | Fix infinite playlist importChocobozzz2022-11-141-1/+2
| | | | | | | | Using an hard videos limit in config
* | Fix running again transcoding on a video only fileChocobozzz2022-11-071-4/+1
| |
* | Fix preview generation for importsChocobozzz2022-10-311-1/+1
| |
* | Fix transcoding failure when importing a videoChocobozzz2022-10-311-96/+130
| |
* | Lock files to generate torrents/move filesChocobozzz2022-10-252-10/+31
| |
* | Put private videos under a specific subdirectoryChocobozzz2022-10-244-50/+75
| |
* | Prevent error logChocobozzz2022-10-041-2/+2
| |
* | Live supports object storageChocobozzz2022-10-042-17/+16
| | | | | | | | | | | | | | | | * Sync live files (segments, master playlist, resolution playlist, segment sha file) into object storage * Automatically delete them when the live ends * Segment sha file is now a file on disk, and not stored in memory anymore
* | Handle sync failure in synchronizeChannel fnChocobozzz2022-09-271-14/+8
|/
* Fix sync import of latest videosChocobozzz2022-09-161-1/+3
|
* Prevent job queue to be started before pluginsChocobozzz2022-09-141-10/+27
|
* Fix saved live master playlist bandwidthChocobozzz2022-09-091-12/+2
|
* Use worker thread to send HTTP requestsChocobozzz2022-09-082-28/+32
| | | | Compute HTTP signature could be CPU intensive
* Don't crash on redis connection errorChocobozzz2022-08-111-7/+17
|
* Add ability to list imports of a channel syncChocobozzz2022-08-101-5/+15
|
* Channel sync (#5135)Florent2022-08-104-9/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add external channel URL for channel update / creation (#754) * Disallow synchronisation if user has no video quota (#754) * More constraints serverside (#754) * Disable sync if server configuration does not allow HTTP import (#754) * Working version synchronizing videos with a job (#754) TODO: refactoring, too much code duplication * More logs and try/catch (#754) * Fix eslint error (#754) * WIP: support synchronization time change (#754) * New frontend #754 * WIP: Create sync front (#754) * Enhance UI, sync creation form (#754) * Warning message when HTTP upload is disallowed * More consistent names (#754) * Binding Front with API (#754) * Add a /me API (#754) * Improve list UI (#754) * Implement creation and deletion routes (#754) * Lint (#754) * Lint again (#754) * WIP: UI for triggering import existing videos (#754) * Implement jobs for syncing and importing channels * Don't sync videos before sync creation + avoid concurrency issue (#754) * Cleanup (#754) * Cleanup: OpenAPI + API rework (#754) * Remove dead code (#754) * Eslint (#754) * Revert the mess with whitespaces in constants.ts (#754) * Some fixes after rebase (#754) * Several fixes after PR remarks (#754) * Front + API: Rename video-channels-sync to video-channel-syncs (#754) * Allow enabling channel sync through UI (#754) * getChannelInfo (#754) * Minor fixes: openapi + model + sql (#754) * Simplified API validators (#754) * Rename MChannelSync to MChannelSyncChannel (#754) * Add command for VideoChannelSync (#754) * Use synchronization.enabled config (#754) * Check parameters test + some fixes (#754) * Fix conflict mistake (#754) * Restrict access to video channel sync list API (#754) * Start adding unit test for synchronization (#754) * Continue testing (#754) * Tests finished + convertion of job to scheduler (#754) * Add lastSyncAt field (#754) * Fix externalRemoteUrl sort + creation date not well formatted (#754) * Small fix (#754) * Factorize addYoutubeDLImport and buildVideo (#754) * Check duplicates on channel not on users (#754) * factorize thumbnail generation (#754) * Fetch error should return status 400 (#754) * Separate video-channel-import and video-channel-sync-latest (#754) * Bump DB migration version after rebase (#754) * Prettier states in UI table (#754) * Add DefaultScope in VideoChannelSyncModel (#754) * Fix audit logs (#754) * Ensure user can upload when importing channel + minor fixes (#754) * Mark synchronization as failed on exception + typos (#754) * Change REST API for importing videos into channel (#754) * Add option for fully synchronize a chnanel (#754) * Return a whole sync object on creation to avoid tricks in Front (#754) * Various remarks (#754) * Single quotes by default (#754) * Rename synchronization to video_channel_synchronization * Add check.latest_videos_count and max_per_user options (#754) * Better channel rendering in list #754 * Allow sorting with channel name and state (#754) * Add missing tests for channel imports (#754) * Prefer using a parent job for channel sync * Styling * Client styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* Prevent job failure on concurrent HLS transcodingChocobozzz2022-08-092-6/+2
|
* Fix job queue testsChocobozzz2022-08-091-16/+31
|
* Avoid concurrency issue on transcodingChocobozzz2022-08-092-11/+23
|
* Use bullmq job dependencyChocobozzz2022-08-0916-37/+153
|
* Move to bullmqChocobozzz2022-08-0917-72/+148
|
* Limit import depending on transcoding resolutionsChocobozzz2022-08-092-3/+8
|
* Fix resolution to transcode hook nameChocobozzz2022-08-091-1/+1
|
* Add option to not transcode original resolutionChocobozzz2022-08-092-19/+10
|
* Add plugin hook on transcoding resolutions buildingChocobozzz2022-08-021-1/+7
|
* Add job queue hooksChocobozzz2022-08-021-2/+6
|
* Add ability to delete a specific video fileChocobozzz2022-08-013-14/+8
|
* Clearer live sessionChocobozzz2022-07-221-33/+44
| | | | | | | | | Get the save replay setting when the session started to prevent inconsistent behaviour when the setting changed before the session was processed by the live ending job Display more information about the potential session replay in live modal information
* /!\ Use a dedicated config file for developmentChocobozzz2022-07-061-2/+2
| | | | | It means you have to replace NODE_ENV=test to NODE_ENV=dev if you use it npm run dev:* commands are already updated
* Introduce experimental telemetryChocobozzz2022-07-061-0/+6
|
* Rename video full loadingChocobozzz2022-06-286-8/+8
|
* Fix removed sha segments on fast restreamChocobozzz2022-06-241-10/+3
|
* Merge branch 'release/4.2.0' into developChocobozzz2022-06-231-7/+7
|\
| * Fix fast restream in saved permanent liveChocobozzz2022-06-231-7/+7
| |
* | Merge branch 'release/4.2.0' into developChocobozzz2022-06-171-0/+3
|\|
| * Send views in a dedicated queueChocobozzz2022-06-171-0/+3
| |
* | More robust move to object storage job failureChocobozzz2022-06-162-5/+23
|/
* Fix live ending job that breaks new live sessionChocobozzz2022-06-161-8/+11
|
* More robust live ending jobChocobozzz2022-05-251-2/+6
|
* Fix saving permanent live replay on quick restreamChocobozzz2022-05-251-31/+20
|
* Reduce error logsChocobozzz2022-05-181-1/+7
|
* Support live session in serverChocobozzz2022-05-031-27/+60
|
* Add ability to save replay of permanent livesChocobozzz2022-04-211-45/+114
|
* Support video views/viewers stats in serverChocobozzz2022-04-151-1/+1
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos