mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +00:00
Deployed 291417db with MkDocs version: 1.6.1
This commit is contained in:
@@ -2699,6 +2699,11 @@ full detail:</p>
|
||||
<td>string or <code>null</code></td>
|
||||
<td>A message the service shows while it waits for an approval on another device, such as a pair code. It needs no answer.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>qr</code></td>
|
||||
<td>string or <code>null</code></td>
|
||||
<td>The text of a QR code that goes with <code>input_prompt</code> or <code>notice</code>, such as a login URL to scan with a phone. Draw it as a QR code.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The full detail adds <code>started_time</code>, <code>completed_time</code>, <code>output_files</code>, the redacted
|
||||
@@ -2909,7 +2914,8 @@ server process. For each job it spawns a separate Python subprocess:</p>
|
||||
the prompt to <code>progress.json</code> as <code>input_prompt</code> and waits. The answer from
|
||||
<code>POST /api/download/jobs/{job_id}/input</code> goes to the job worker on its stdin.
|
||||
When a service waits for an approval on another device, the job worker writes the message as
|
||||
<code>notice</code> and sets it back to <code>null</code> when the wait ends.</p>
|
||||
<code>notice</code> and sets it back to <code>null</code> when the wait ends. A QR code to scan goes out as <code>qr</code>, and
|
||||
the end of its prompt or notice sets it back to <code>null</code>.</p>
|
||||
<p>Running each download out-of-process isolates the server from crashes, memory growth,
|
||||
and blocking work inside the download engine, and makes hard cancellation (killing the
|
||||
process) reliable.</p>
|
||||
|
||||
Reference in New Issue
Block a user