48 const TInt KForceBackgroundGeneration = 0x00000010; |
48 const TInt KForceBackgroundGeneration = 0x00000010; |
49 const TInt KMPXHarvesting = 0x00000020; |
49 const TInt KMPXHarvesting = 0x00000020; |
50 const TInt KDaemonProcessing = 0x00000040; |
50 const TInt KDaemonProcessing = 0x00000040; |
51 |
51 |
52 //insert to temp table first wo indexing and move data to main table as batch |
52 //insert to temp table first wo indexing and move data to main table as batch |
53 const TUint KMaxBatchItems = 36; |
53 //actual batch size will vary and will be between min...max batch size values below |
|
54 //minimum batch size |
|
55 const TUint KMInBatchItems = 3; |
|
56 //maximum batch size |
|
57 const TUint KMaxBatchItems = 18; |
|
58 //Max allowed flush time |
|
59 const TUint KMaxFlushDelay = 3000; //ms |
|
60 |
54 //how many items daemon will query at once from MDS |
61 //how many items daemon will query at once from MDS |
55 const TUint KMaxQueryItems = 100; |
62 const TUint KMaxQueryItems = 100; |
|
63 // max items for PH & AllItems query |
|
64 const TUint KMaxQueryItems2 = 100; |
56 |
65 |
57 // maximum number of active client side queue requests |
66 // maximum number of active client side queue requests |
58 const TUint KMaxClientRequests = 2; |
67 const TUint KMaxClientRequests = 2; |
59 |
68 |
60 // maximum number of active daemon requests |
69 // maximum number of active daemon requests |