publish: Serve /nar requests in a separate thread.
commit7f23fb00882dd65b4cad51a9cf52d5f86b32fdb4
authorLudovic Courtès <ludo@gnu.org>
Sun, 19 Jul 2015 21:58:37 +0000 (19 23:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 19 Jul 2015 21:59:29 +0000 (19 23:59 +0200)
treea90b7fa34c5b5ae7629caed165f6427a360be0b2
parentf4de5b3bf116d965a41cdeebb5423cdd15168c2b
publish: Serve /nar requests in a separate thread.

* guix/scripts/publish.scm (%http-write): New variable.
  (http-write): New procedure.
  (concurrent-http-server): New variable.
  (run-publish-server): Use it.
guix/scripts/publish.scm