Skip to content

Commit

Permalink
web server: add cancel_job endpoint (simply killing the PID)
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Jul 9, 2023
1 parent 717196d commit 7c432f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sampo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ match_uri '^/for_production|^/process_images' run_external_script for_production

match_uri '^/for_presentation|^/process_mets' run_external_script for_presentation.sh

match_uri '^/cancel_job/(.*)$' run_external_script kill

0 comments on commit 7c432f8

Please sign in to comment.