diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-06-22 20:48:50 +0000 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-06-22 20:48:50 +0000 |
commit | 247543b9ebade874d0278ac73d40d8ef86b6824f (patch) | |
tree | d43e4ea9cfcb5598175cb31e31ab3134d9bf84be /archives.go | |
parent | Cache pages to improve the performance (diff) | |
download | archives-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.go | 1 |
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 |