[banshee] Change slow-query thresholds to 6k/12k items
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Change slow-query thresholds to 6k/12k items
- Date: Tue, 2 Mar 2010 21:08:46 +0000 (UTC)
commit a6b2345ec4f53e6b77f75997c733c448e6f1157d
Author: Gabriel Burt <gabriel burt gmail com>
Date: Tue Mar 2 13:08:21 2010 -0800
Change slow-query thresholds to 6k/12k items
src/Clients/Nereid/Nereid/PlayerInterface.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Clients/Nereid/Nereid/PlayerInterface.cs b/src/Clients/Nereid/Nereid/PlayerInterface.cs
index 22cfced..eae3df4 100644
--- a/src/Clients/Nereid/Nereid/PlayerInterface.cs
+++ b/src/Clients/Nereid/Nereid/PlayerInterface.cs
@@ -609,7 +609,7 @@ namespace Nereid
// We need a bit longer delay between query character typed to search initiated
// when the library is sufficiently big; see bgo #540835
- bool long_delay = source.FilteredCount > 10000 || (source.Parent ?? source).Count > 20000;
+ bool long_delay = source.FilteredCount > 6000 || (source.Parent ?? source).Count > 12000;
view_container.SearchEntry.ChangeTimeoutMs = long_delay ? (uint)250 : (uint)25;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]