diff options
| author | ruki <[email protected]> | 2025-11-20 23:55:47 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-21 11:28:51 +0800 |
| commit | 2d5076fbba423d24300996773d1fb7ecfcd1b02b (patch) | |
| tree | e20f18af62ac437b8c5a7ad68d2d6e282211468d /xmake/modules/private/action | |
| parent | 0719de2b664bdfc82ce30534ed196bfc81fc072a (diff) | |
improve progress refresh timer
Diffstat (limited to 'xmake/modules/private/action')
| -rw-r--r-- | xmake/modules/private/action/build/target.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua index c3d21f399..d623744b4 100644 --- a/xmake/modules/private/action/build/target.lua +++ b/xmake/modules/private/action/build/target.lua @@ -799,14 +799,6 @@ function run_targetjobs(targets_root, opt) remote_only = opt.remote_only, progress_factor = opt.progress_factor } - -- Only set timer for multirow progress mode - if progress_utils.is_multirow() then - runjobs_opt.timeout = 1000 - runjobs_opt.on_timer = function (running_indices) - -- Periodically refresh multirow progress to update elapsed time - progress_utils.refresh() - end - end async_runjobs(job_kind, jobgraph, runjobs_opt) os.cd(curdir) return true @@ -827,14 +819,6 @@ function run_filejobs(targets_root, opt) remote_only = opt.remote_only, progress_factor = opt.progress_factor } - -- Only set timer for multirow progress mode - if progress_utils.is_multirow() then - runjobs_opt.timeout = 1000 - runjobs_opt.on_timer = function (running_indices) - -- Periodically refresh multirow progress to update elapsed time - progress_utils.refresh() - end - end async_runjobs(job_kind, jobgraph, runjobs_opt) os.cd(curdir) return true |
