Commit Graph

18 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
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
75de367153 Break get_time_elapsed into misc_helper (#10) 2023-06-09 11:10:42 -05:00
Brett Williams
af24bc6beb Created start_client.py and moved server_proxy.py to server directory 2023-06-03 12:49:04 -05:00
Brett Williams
93b42f2717 New client work 2023-05-31 17:20:00 -05:00
Brett Williams
4911ed538d API cleanup 2023-05-28 01:17:10 -05:00
Brett Williams
bac069201f Forgot dashboard import 2023-05-27 23:47:16 -05:00
Brett Williams
4ef94dd7b8 Major file reorganization 2022-12-20 11:22:04 -08:00
Brett Williams
7a3fed1960 Add /api/ to all rest call paths 2022-12-07 12:30:44 -08:00
Brett Williams
a36f6d3128 Improve dashboard to fetch data async from screen refreshes 2022-10-30 23:59:58 -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
37f91c6f8a Combine RenderWorker creation into RenderJob creation. Misc cleanup. 2022-10-28 09:58:32 -07:00
Brett Williams
2181ce54a2 Combine add_job and upload_file methods 2022-10-12 17:11:27 -07:00
Brett Williams
fd6af10d56 Refactor and reorganize code. Split server into manager and server files. 2022-10-12 13:44:41 -07:00
Brett Williams
2c5be5632d Worker class cleanup 2022-10-11 21:43:05 -07:00
Brett Williams
5dabad24e9 Additional work to allow registering of remote clients 2022-10-09 17:34:06 -07:00
Brett Williams
e12171a6d2 Dashboard improvements 2022-10-08 17:55:24 -07:00
Brett Williams
1c304e77f5 Initial commit 2022-10-04 23:09:09 -07:00