Commit Graph

15 Commits

Author SHA1 Message Date
34fbdaa4d9 Refactor: DistributedJobManager with pub/sub status change notifications (#25)
* Add pubsub to render_queue and base_worker

* Refactor: Convert ZeroconfServer to Singleton with Class Methods

* New API for subjob servers to notify parent job servers of status changes

* Refactor: Move all subjob related methods to distributed_job_manager.py

* Rewrite for wait_for_subjobs

* Fix: DistributedJobManager.find_available_servers() takes 1 positional argument but 3 were given

* DistributedJobManager should now notify / be notified abotu background job changes

* Fix the make_ready api. Change children keyname to be id@hostname so it can be unique

* Fixes

* Image sequence to movie needs to find the actual start frame

* Fix: subjob_status_change did not return a valid response

* Fix client renderer selection

* Small fix for subjob status checking

* Fix issue with divide_frames_equally

* Fix issue where downloads were not occurring

* Fix issue where old status was being reported

* Add docstrings and code cleanup
2023-06-30 19:49:57 -05:00
76e413c18d Assign frame ranges to servers based on their CPU count (#19)
* Expose renderer availability in status api

* Remove redundant is_available_for_job API call

* New server split logic by cpu and moved to server_helper.py

* Remove old dead code

* Add RenderStatus.WAITING to proxy categories
2023-06-16 00:04:02 -05:00
0a0a228731 Thumbnail Generation Refactoring (#16)
* Fix file_list and convert save_first_frame to use FFMPEG directly

* All thumbnail generation now uses FFMPEG engine
2023-06-15 13:06:46 -05:00
Brett Williams
cae5dbb41c Fix failing thumbnail generation 2023-06-15 11:26:52 -05:00
94bb1e4362 Remove Old Multi-Client Code / Refactoring (#13)
* Remove a lot of old code from render_queue regarding clients

* More code cleanup

* More code cleanup

* Move everything around

* Minor log change
2023-06-11 14:50:20 -05:00
Brett Williams
43a1698ab8 Code cleanup 2023-06-03 17:06:09 -05:00
Brett Williams
a9257a6bf5 Improve performance of job status updates through caching hashes 2023-06-03 16:59:01 -05:00
Brett Williams
60eeb6d5e2 Blender image sequences now generate a preview mp4 on completion 2023-05-30 21:59:04 -05:00
Brett Williams
22cfe9c24e More thumbnail fixes 2023-05-30 21:05:59 -05:00
Brett Williams
769611ba26 Fix server issue with purple / green thumbnails 2023-05-30 15:19:14 -05:00
Brett Williams
df92269708 Refactor Worker / Engine / Factory file layout 2023-05-27 14:40:34 -05:00
Brett Williams
4d620d0ea6 Thumbnail generation error handling 2023-05-24 15:41:27 -05:00
Brett Williams
9ac1c44ba3 Add RenderClient object to DB for client tracking 2023-05-24 15:40:45 -05:00
Brett Williams
e11c5e7e58 Convert render_queue and scheduledjob to use sql instead of json 2023-05-24 09:58:02 -05:00
Brett Williams
4ef94dd7b8 Major file reorganization 2022-12-20 11:22:04 -08:00