diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-01-03 13:09:35 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-01-03 13:53:43 +0200 |
commit | 543107a70eeffaa6932c87c02b43b0fd4f8558e5 (patch) | |
tree | 2cfb0b9e4dd69f93413d0e934e1113534d7352dc /subplot/server.yaml | |
parent | e6a4eb6edf83a68a6f73094126804beb0c569937 (diff) | |
download | obnam2-543107a70eeffaa6932c87c02b43b0fd4f8558e5.tar.gz |
feat: load chunk metadata into index at startup
This needs to be replace with a database or something, but it'll do
for now.
Diffstat (limited to 'subplot/server.yaml')
-rw-r--r-- | subplot/server.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subplot/server.yaml b/subplot/server.yaml index e7a72b2..2cc2b5f 100644 --- a/subplot/server.yaml +++ b/subplot/server.yaml @@ -2,6 +2,9 @@ function: start_chunk_server cleanup: stop_chunk_server +- when: "the chunk server is stopped" + function: stop_chunk_server + - when: "I POST (?P<filename>\\S+) to (?P<path>\\S+), with (?P<header>\\S+): (?P<json>.*)" regex: true function: post_file |