Uploaded image for project: 'Copy Handler'
  1. Copy Handler
  2. CH-103

Serializing lots of scanned files blocks gui for a long time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.40alpha-svn589
    • Fix Version/s: 1.40alpha-svn589
    • Component/s: engine, gui
    • Labels:
      None

      Description

      After scanning directory with a lot of files (~50k) the scanned files information is being stored in the sqlite database as single transaction commit.
      This commit is being done in a main/GUI thread (within OnTimer() handler).
      There are also other places where this kind of blocking can occur, but this one seems to be causing the most trouble right now.

      Most probably transaction commit should be moved to a separate thread - this needs a test on release version of CH.

        Attachments

          Activity

            People

            Assignee:
            admin ixen
            Reporter:
            admin ixen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: