Search for file taking a long time
spsanderson opened this issue · 9 comments
Description:
Trying to search a file. For some reason, it looks like it searched twice.
Version:
0.4.2.0 (32x)
Logs:
2018-11-11 11:46:26,723 [1] INFO FileMasta.Program - Initializing
2018-11-11 11:46:26,995 [1] INFO FileMasta.Program - Initialized
2018-11-11 11:46:27,052 [1] INFO FileMasta.Program - Loading application tasks beginning
2018-11-11 11:46:27,103 [1] INFO FileMasta.Program - Checking for update
2018-11-11 11:46:27,768 [1] INFO FileMasta.Program - New update found - Downloading and starting the Installer
2018-11-11 11:53:36,106 [1] INFO FileMasta.Program - Closing application
2018-11-11 11:53:36,112 [1] INFO FileMasta.Program - Preparing to display most searches
2018-11-11 11:53:36,151 [5] INFO FileMasta.Program - Requesting most searches from database
2018-11-11 11:54:36,285 [1] INFO FileMasta.Program - Initializing
2018-11-11 11:54:36,406 [1] INFO FileMasta.Program - Initialized
2018-11-11 11:54:36,453 [1] INFO FileMasta.Program - Loading application tasks beginning
2018-11-11 11:54:36,454 [1] INFO FileMasta.Program - Checking for update
2018-11-11 11:54:37,070 [1] INFO FileMasta.Program - Running the latest version: 0.4.2.0
2018-11-11 11:54:37,081 [1] INFO FileMasta.Program - Preparing to display most searches
2018-11-11 11:54:37,088 [4] INFO FileMasta.Program - Requesting most searches from database
2018-11-11 11:54:37,187 [5] INFO FileMasta.Program - Starting database updates
2018-11-11 11:54:37,188 [5] INFO FileMasta.Program - Checking if 'ftp-files.json' needs to be updated
2018-11-11 11:54:37,808 [4] INFO FileMasta.Program - Returned most searches
2018-11-11 11:54:41,076 [1] INFO FileMasta.Program - Completed most searches
2018-11-11 11:56:13,984 [5] INFO FileMasta.Program - Checking if 'ftp-servers.txt' needs to be updated
2018-11-11 11:56:15,821 [1] INFO FileMasta.Program - Loading tasks completed
2018-11-11 11:57:24,186 [1] INFO FileMasta.Program - Starting to search files. Preferences - Query: sharknado, Sort: Name, Type: System.String[], Host:
2018-11-11 11:58:08,739 [1] INFO FileMasta.Program - 0 Files (44.295 seconds)
2018-11-11 12:13:48,189 [1] INFO FileMasta.Program - Starting to search files. Preferences - Query: sharknado, Sort: Name, Type: System.String[], Host:
2018-11-11 12:18:25,187 [1] INFO FileMasta.Program - 0 Files (276.843 seconds)
I can't seem to reproduce this, could you explain what you did for this to occur? I thought maybe the Enter key event is being triggered multiple times. Will definitely look into this more.
Wait, so 3 minutes to search and then nothing being returned? What's your specs? :/
Here is another log of the same event:
2018-11-19 09:50:33,167 [1] INFO FileMasta.Program - Initializing
2018-11-19 09:50:33,775 [1] INFO FileMasta.Program - Initialized
2018-11-19 09:50:33,856 [1] INFO FileMasta.Program - Loading application tasks beginning
2018-11-19 09:50:33,857 [1] INFO FileMasta.Program - Checking for update
2018-11-19 09:50:34,539 [1] INFO FileMasta.Program - Running the latest version: 0.4.2.0
2018-11-19 09:50:34,550 [1] INFO FileMasta.Program - Preparing to display most searches
2018-11-19 09:50:34,581 [4] INFO FileMasta.Program - Requesting most searches from database
2018-11-19 09:50:34,701 [5] INFO FileMasta.Program - Starting database updates
2018-11-19 09:50:34,702 [5] INFO FileMasta.Program - Checking if 'ftp-files.json' needs to be updated
2018-11-19 09:50:35,384 [4] INFO FileMasta.Program - Returned most searches
2018-11-19 09:50:35,848 [1] INFO FileMasta.Program - Completed most searches
2018-11-19 09:51:48,828 [5] INFO FileMasta.Program - Checking if 'ftp-servers.txt' needs to be updated
2018-11-19 09:51:50,183 [1] INFO FileMasta.Program - Loading tasks completed
2018-11-19 09:52:21,850 [1] INFO FileMasta.Program - Starting to search files. Preferences - Query: christmas with the kranks, Sort: Name, Type: System.String[], Host:
2018-11-19 09:57:17,943 [1] INFO FileMasta.Program - 0 Files (295.731 seconds)
UPDATE: Lots of work has been done in the last couple of months, better ui layout and improved the search feature, front and back end.
Further improvement: Searching has been completed refactored. Last tested search only took about 10 seconds to return 600 results from over 3 million files. Will be released very soon.