Commit Graph

11 Commits

Author SHA1 Message Date
1ffeb082b6 Only add nodes to pool after successful auth 2023-07-31 23:03:59 +02:00
fc6647e873 Fix round-robin index calculation and job rejection.
If no render nodes were registered, the modulo on nodes.length
would push NaN into index, causing an unrecoverable state.
Not deleting rejected jobs also leaked memory.
2023-06-16 12:26:36 +02:00
28c5f821d8 Cleanup: Remove accidentally comitted /results route 2023-06-16 12:03:05 +02:00
3d9313ef07 Add handling for remote serving requests
if we receive base64 encoded image data
it is being saved to and served from the public folder.
2023-06-16 11:28:19 +02:00
ecfffa68a3 Implement round-robin for node selection 2023-06-07 17:08:22 +02:00
77b8c4356d Require auth key for node registration 2023-06-07 17:06:26 +02:00
3960b5f79f Allow identical jobs and assign random uuid instead 2023-06-01 22:57:51 +02:00
8b73df3660 Remove deprecated API routes 2023-06-01 22:45:05 +02:00
39c052e6bd Handle node disconnection 2023-06-01 19:50:21 +02:00
eded4865b7 Implement node communication via Websocket 2023-06-01 17:55:39 +02:00
249c042995 Move js to src folder and add run command 2023-06-01 11:03:33 +02:00