Subversion Repositories SmartDukaan

Rev

Rev 12194 | Rev 12196 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12194 Rev 12195
Line 2146... Line 2146...
2146
        pool.close()
2146
        pool.close()
2147
        pool.join()
2147
        pool.join()
2148
        return endOffset
2148
        return endOffset
2149
    else:
2149
    else:
2150
        count = 0
2150
        count = 0
2151
        pool = ThreadPool(20)
2151
        pool = ThreadPool(50)
2152
        startOffset = 0
2152
        startOffset = 0
2153
        endOffset = startOffset
2153
        endOffset = startOffset
2154
        while(count<1 and endOffset<len(itemInfo)):
2154
        while(count<1 and endOffset<len(itemInfo)):
2155
            endOffset = startOffset + 50
2155
            endOffset = startOffset + 50
2156
            if (endOffset >= len(itemInfo)):
2156
            if (endOffset >= len(itemInfo)):