mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-07 06:06:09 +00:00
After much testing of recent Clear Linux OS builds, I have determined that a 1-minute timeout for delta creation is not long enough. In Clear Linux OS, there are several large (~250MB) files in the 'gcc' package that change on a regular basis (sometimes once a day), and delta creation for these files takes between 5.5 and 6.5 minutes each. The delta sizes are around 9-10MB, significantly smaller than the new compressed fullfile size of 49-55MB. To accomodate these deltas, the timeout should be at least 7 minutes. For one recent build (26170), one of the delta creations took 6min40sec, approaching 7 minutes. To be safe, I am increasing the timeout to 8 minutes in case the build server is under heavier load. I did regenerate the deltas that originally prompted adding the 1 minute timeout. They *are* larger than the new compressed fullfile, and they take several minutes to create. But these cases are actually rare, instead of common, as the source code comment implies. I've updated the code comment. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>