Post conversions to the document server's documented /converter path (issue 1596)

This commit is contained in:
2026-10-21 15:10:35 +02:00
parent 6358041eca
commit b54640e386
@@ -34,8 +34,10 @@ import (
const (
// AsksStream is the work-queue stream's bus name: the manifest's convert-asks, capitalised with its hyphen an underscore.
AsksStream = "CONVERT_ASKS"
// ConvertPath is the document server's conversion service, reached on the machine's own published port.
ConvertPath = "/ConvertService.ashx"
// ConvertPath is the document server's conversion service, reached on the machine's own published port. The path is
// the one the conversion API's request page names, https://api.onlyoffice.com/docs/docs-api/additional-api/conversion-api/request/
// (read 2026-10-21): POST to https://documentserver/converter.
ConvertPath = "/converter"
// StaleAfter is how old an ask may be when the converter takes it: older than twice the longest wait, nobody waits.
StaleAfter = 2 * ConvertWait
// ConvertRun is how long one conversion, its fetch and its put may take.