diff options
author | Christopher Baines <mail@cbaines.net> | 2023-11-05 13:42:03 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-11-05 13:46:20 +0000 |
commit | c3cb04cb8052492dae715012586f9e3d2d64579d (patch) | |
tree | 1f56c415ef46e68d60d623e0a0bea70c4bd74ceb /guix-data-service/web/jobs | |
parent | f5acc60288e0ad9f0c1093f3d50af1347e4df1df (diff) | |
download | data-service-c3cb04cb8052492dae715012586f9e3d2d64579d.tar data-service-c3cb04cb8052492dae715012586f9e3d2d64579d.tar.gz |
Use fibers when processing new revisions
Just have one fiber at the moment, but this will enable using fibers for
parallelism in the future.
Fibers seemed to cause problems with the logging setup, which was a bit odd in
the first place. So move logging to the parent process which is better anyway.
Diffstat (limited to 'guix-data-service/web/jobs')
-rw-r--r-- | guix-data-service/web/jobs/controller.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix-data-service/web/jobs/controller.scm b/guix-data-service/web/jobs/controller.scm index b8b494d..7e5084f 100644 --- a/guix-data-service/web/jobs/controller.scm +++ b/guix-data-service/web/jobs/controller.scm @@ -23,6 +23,7 @@ #:use-module (guix-data-service web controller) #:use-module (guix-data-service web query-parameters) #:use-module (guix-data-service web util) + #:use-module (guix-data-service jobs) #:use-module (guix-data-service jobs load-new-guix-revision) #:use-module (guix-data-service web jobs html) #:export (jobs-controller)) |