Skip to content

Use process events instead of polling for INK conversion

Alf Eaton requested to merge ink-pusher into master

A minimal version of !9 (closed) that keeps the current flow (the client uploads a file and waits for the response), but uses events from INK's Pusher/Slanger processing channel instead of polling until the processing is finished.

The app config looks like this (with example values):

{
  "pubsweet-component-ink-backend": {
    "pusher": {
      "appKey": "abc123",
      "wsHost": "100.100.100.100",
      "wsPort": 8080,
      "httpHost": "100.100.100.100",
      "httpPort": 4567
    }
  }
}
Edited by Alf Eaton

Merge request reports