solus-project / ferryd

Fast, safe and reliable transit for the delivery of software updates to users.

Home Page:https://solus-project.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spawn async delta creation on pull

ikeydoherty opened this issue · comments

The delta repo job is fairly slow as it has to check every package in the repo, and is only really intended to be used after initial import. During a pull operation, track the names in the repo that are being modified, and then spawn a delta job for each one of them on the async queue.

This will greatly reduce the time it takes to delta the repo after sync windows.

Also note to self, increase the backgroundJobs count to 8 on the server instead of 4.