Subversion Repositories SmartDukaan

Rev

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

Rev 12185 Rev 12186
Line 2144... Line 2144...
2144
        pool.close()
2144
        pool.close()
2145
        pool.join()
2145
        pool.join()
2146
        return endOffset
2146
        return endOffset
2147
    else:
2147
    else:
2148
        count = 0
2148
        count = 0
2149
        pool = ThreadPool(10)
2149
        pool = ThreadPool(20)
2150
        startOffset = 0
2150
        startOffset = 0
2151
        endOffset = startOffset
2151
        endOffset = startOffset
2152
        while(count<10 and endOffset<len(itemInfo)):
2152
        while(count<10 and endOffset<len(itemInfo)):
2153
            endOffset = startOffset + 50
2153
            endOffset = startOffset + 50
2154
            if (endOffset >= len(itemInfo)):
2154
            if (endOffset >= len(itemInfo)):