Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for file taking a long time #128

Closed
spsanderson opened this issue Nov 11, 2018 · 9 comments
Closed

Search for file taking a long time #128

spsanderson opened this issue Nov 11, 2018 · 9 comments

Comments

@spsanderson
Copy link

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)

@ohhsodead
Copy link
Owner

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.

@spsanderson
Copy link
Author

spsanderson commented Nov 14, 2018 via email

@ohhsodead
Copy link
Owner

Wait, so 3 minutes to search and then nothing being returned? What's your specs? :/

@ohhsodead ohhsodead added the bug label Nov 14, 2018
@spsanderson
Copy link
Author

spsanderson commented Nov 14, 2018 via email

@spsanderson
Copy link
Author

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)

@ohhsodead
Copy link
Owner

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.

@ohhsodead ohhsodead added enhancement and removed bug labels Jan 8, 2019
@spsanderson
Copy link
Author

spsanderson commented Jan 8, 2019 via email

@ohhsodead
Copy link
Owner

ohhsodead commented Jan 10, 2019

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.

@spsanderson
Copy link
Author

spsanderson commented Jan 10, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants