aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-06-22 20:48:50 +0000
committerMax Magorsch <arzano@gentoo.org>2020-06-22 20:48:50 +0000
commit247543b9ebade874d0278ac73d40d8ef86b6824f (patch)
treed43e4ea9cfcb5598175cb31e31ab3134d9bf84be /archives.go
parentCache pages to improve the performance (diff)
downloadarchives-247543b9ebade874d0278ac73d40d8ef86b6824f.tar.gz
archives-247543b9ebade874d0278ac73d40d8ef86b6824f.tar.bz2
archives-247543b9ebade874d0278ac73d40d8ef86b6824f.zip
Improve the importer further
Wait until all go routines have finished before terminating the application. Also improve the handling of nested multipart bodies Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'archives.go')
-rw-r--r--archives.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/archives.go b/archives.go
index dd517ed..7cbba67 100644
--- a/archives.go
+++ b/archives.go
@@ -39,6 +39,7 @@ func main() {
app.Serve()
}
+ importer.WaitGroup.Wait()
}
// TODO this has to be solved differently