mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-11-21 23:05:22 +00:00
74f4afa6557725313fc2791cbc8879b4e03d8748
The code previously created all the bundle manifests and delta manifests synchronously in 1 thread. While this worked, it was not optimal considering the manifests can be created at the same time since they are unique. This patch creates a threadpool that processes each bundle manifest in its own thread. Delta manifest creation was removed from create_update because it can already be handled by our delta pack creation process, and it is a huge time-sink for create_update as it also runs single threaded. Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
The swupd-server package provides a reference implementation of a software update server-side component that generates update content consumable by a software update client (swupd-client). Such content includes manifests that describe incremental changes in the OS from build to build, binary deltas, full copies of files (fullfiles) that were added/changed from a previous build, and packs composed of binary deltas and/or fullfiles.
Languages
C
69.3%
Shell
27.7%
Makefile
1.6%
M4
1.4%