Skip to content

Commit

Permalink
Update services/postprocessing/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Martin <github@diemattels.at>
  • Loading branch information
kobergj and mmattel committed Jan 26, 2023
1 parent b975aa0 commit 94fe231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/postprocessing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To enable virus scanning as a postprocessing step after uploading a file, the en
Though this is for development purposes only and NOT RECOMMENDED on production systems, setting the environment variable `POSTPROCESSING_DELAY` to a duration not equal to zero will add a delay step with the configured amount of time. ocis will continue postprocessing the file after the configured delay. Use the enviroment variable `POSTPROCESSING_STEPS` and the keyword `delay` if you have multiple postprocessing steps and want to define their order. If `POSTPROCESSING_DELAY` is set but `delay` is not contained in `POSTPROCESSING_STEPS` it will be added as last postprocessing step.

### Custom Postprocessing Steps
Using the envvar `POSTPROCESSING_STEPS` custom postprocessing steps can be added. Any word can be used as step name but be careful not to clash with exising steps `virusscan` and `delay`.
By using the envvar `POSTPROCESSING_STEPS`, custom postprocessing steps can be added. Any word can be used as step name but be careful not to conflict with exising keywords like `virusscan` and `delay`. In addition, if a keyword is misspelled or the corresponding service does either not exist or does not follow the necessary event communication, the postprocessing service will wait forever getting the required response to proceed and does not continue any other processing.

#### Prerequisites
For using custom postprocessing steps you need a custom service listening to the configured event system (see `General Prerequisites`)
Expand Down

0 comments on commit 94fe231

Please sign in to comment.