Commit Graph

27 Commits

Author SHA1 Message Date
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
69715e8afa Multi client jobs (#15)
* Add API to expose if RenderQueue is available to take new jobs for a given renderer and priority

* Fix issue with calculating Blender percent complete when not starting at 1

* Rename owner / client properties to parent / children

* Add make_ready method to API

* Create and submit subjobs to other servers

* Update make_ready to update children jobs and some misc fixes

* Misc GUI cleanup
2023-06-15 02:01:50 -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
6533481391 Remove all references to ScheduledJob 2023-05-30 22:30:18 -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
528c802fe2 Fix issue where dead jobs try to be started after restarting 2023-05-27 21:53:34 -05:00
Brett Williams
e300024e2b Fix issue where max render instance limit was ignored 2023-05-27 21:42:40 -05:00
Brett Williams
df92269708 Refactor Worker / Engine / Factory file layout 2023-05-27 14:40:34 -05:00
Brett Williams
9ac1c44ba3 Add RenderClient object to DB for client tracking 2023-05-24 15:40:45 -05:00
Brett Williams
2a7eddb1eb Save worker information to database for persistence across runs and abstract away data source 2023-05-24 12:50:16 -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
4446c61f1d Adding initial db to queue 2023-05-23 23:52:29 -05:00
Brett Williams
d9ebd0b2d9 Rename RenderJob to ScheduledJob 2023-05-22 19:41:38 -05:00
Brett Williams
861df5f215 Fix issues with engine name 2023-05-22 19:15:02 -05:00
Brett Williams
49c138968d render_queue refactoring 2023-05-22 19:10:14 -05:00
Brett Williams
4ef94dd7b8 Major file reorganization 2022-12-20 11:22:04 -08:00
Brett Williams
285ca3100c Add JobNotFoundError and handlers to Flask to cleanup some methods 2022-12-14 19:04:40 -08:00
Brett Williams
455934daa1 Improved handling of creating job JSONs as well as better handle loading saved JSONs 2022-12-14 10:49:18 -08:00
Brett Williams
9ac22a5555 Misc Cleanup 2022-12-11 18:01:30 -08:00
Brett Williams
fbaf2e3661 Initial commit of index html and add ability to delete jobs 2022-12-07 18:24:02 -08:00
Brett Williams
7a3fed1960 Add /api/ to all rest call paths 2022-12-07 12:30:44 -08:00
Brett Williams
a71e3fe119 Improve job management. Remove archived flag. 2022-10-30 14:21:06 -07:00
Brett Williams
5785989af4 Add ability to add multiple jobs with same source file 2022-10-30 01:50:33 -07:00
Brett Williams
a8a90d49f3 Improved how jobs are converted to JSON 2022-10-29 16:32:10 -07:00
Brett Williams
37f91c6f8a Combine RenderWorker creation into RenderJob creation. Misc cleanup. 2022-10-28 09:58:32 -07:00
Brett Williams
eb9e719f47 Add ability to get file list and download files from project output 2022-10-26 18:27:13 -07:00
Brett Williams
3ee3dfd4e2 Rename RenderManager to RenderQueue 2022-10-25 11:34:35 -07:00