imagehandlingutilities/thumbnailmanager/inc/thumbnailmanagerconstants.h
branchRCL_3
changeset 19 f759b6186ab5
parent 17 ff2fb7658ff7
child 20 2b4b06654caa
equal deleted inserted replaced
17:ff2fb7658ff7 19:f759b6186ab5
    20 #define THUMBNAILMANAGERCONSTANTS_H
    20 #define THUMBNAILMANAGERCONSTANTS_H
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <gdi.h>
    23 #include <gdi.h>
    24 #include <etel3rdparty.h>
    24 #include <etel3rdparty.h>
    25 
    25 #include <mdccommon.h>
    26 #include <apmstd.h>
    26 #include <apmstd.h>
    27 
    27 
    28 #include "thumbnailmanager.h" // TThumbnailFlags
    28 #include "thumbnailmanager.h" // TThumbnailFlags
    29 
    29 
    30 class CThumbnailServerSession;
    30 class CThumbnailServerSession;
    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 //actual batch size will vary and will be between min...max batch size values below
    53 //actual batch size will vary and will be between min...max batch size values below
    54 
    54 
    55 //minimum batch size
    55 //minimum batch size
    56 const TUint KMInBatchItems = 3;
    56 const TUint KMInBatchItems = 6;
    57 //maximum batch size
    57 //maximum batch size
    58 const TUint KMaxBatchItems = 60;
    58 const TUint KMaxBatchItems = 60;
    59 //Max allowed flush time
    59 //Max allowed flush time ms
    60 const TUint KMaxFlushDelay = 3000; // 3 sec
    60 const TUint KMaxFlushDelay = 3000; // 3 sec
    61 //Max allowed flush time on MTP/music collection refresh
    61 //Max allowed flush time on MTP/music collection refresh
    62 const TUint KMaxMTPFlushDelay = 15000; // 15 seconds
    62 const TUint KMaxMTPFlushDelay = 15000; // 15 seconds
    63 
    63 
    64 //how many items daemon will query at once from MDS
    64 //how many items daemon will query at once from MDS
    65 const TUint KMaxQueryItems = 100;
    65 const TUint KMaxQueryItems = 100;
    66 // max items for PH & AllItems query
    66 // max items for PH & AllItems query
    67 const TUint KMaxQueryItems2 = 100;
    67 const TUint KMaxQueryBatchSize = 100;
    68 
    68 
    69 // maximum number of active client side queue requests
    69 // maximum number of active client side queue requests
    70 const TUint KMaxClientRequests = 2;
    70 const TUint KMaxClientRequests = 2;
    71 
    71 
    72 #ifdef __RETRY_ON_SERVERCRASH
    72 #ifdef __RETRY_ON_SERVERCRASH