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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.40alpha-svn589
    • 1.40alpha-svn589
    • engine, gui
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: