[yast-commit] r60514 - in /branches/SuSE-Code-11-Branch/backup: package/yast2-backup.changes src/ui.ycp
Author: locilka Date: Mon Jan 25 16:42:29 2010 New Revision: 60514 URL: http://svn.opensuse.org/viewcvs/yast?rev=60514&view=rev Log: - Fixed low speed of automatic backup (BNC #568615). Modified: branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes branches/SuSE-Code-11-Branch/backup/src/ui.ycp Modified: branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes?rev=60514&r1=60513&r2=60514&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes (original) +++ branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes Mon Jan 25 16:42:29 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jan 25 16:36:47 CET 2010 - locilka@suse.cz + +- Fixed low speed of automatic backup (BNC #568615). + +------------------------------------------------------------------- Wed Dec 2 15:41:11 CET 2009 - locilka@suse.cz - Fixed infinite loop in case of old archives to keep set to zero Modified: branches/SuSE-Code-11-Branch/backup/src/ui.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/src/ui.ycp?rev=60514&r1=60513&r2=60514&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/backup/src/ui.ycp (original) +++ branches/SuSE-Code-11-Branch/backup/src/ui.ycp Mon Jan 25 16:42:29 2010 @@ -181,7 +181,7 @@ if ((boolean) SCR::Read (.process.running, backup_PID)) { - sleep(wait); + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait); ret = (symbol) UI::PollInput(); @@ -1956,7 +1956,8 @@ } if (Backup::cron_mode) { - sleep(wait_time); + // BNC #568615: yast2 backup takes much longer when scheduled + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait_time); ret = nil; } else { @@ -2073,7 +2074,8 @@ if (Backup::cron_mode == true) { - sleep(wait_time); + // BNC #568615: yast2 backup takes much longer when scheduled + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait_time); ret = nil; } @@ -2826,7 +2828,7 @@ if (Backup::cron_mode) { ret = nil; - sleep(wait_time); + if ((boolean) SCR::Read (.process.buffer_empty, backup_PID) == true) sleep(wait_time); CheckFreeSpace(); } else { ret = waitForUserOrProcess(wait_time, `changed); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org