• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internal: file hash
#9
There is one piece I didn't mention - in order to support a user copying in a new version of a file, if the last modified timestamp as reported by Google Drive doesn't match the last modified timestamp that I recorded in the hashcodes file, I have to recalculate the hash. If I only compared cached hashcodes, then there is no way for me to detect when a user updates a file. Due to that fact, I always have to query for every file to check it's last modified timestamp to see if it's changed. That's probably what is taking 10 minutes. Let me know if you have any thoughts on this. One option would be for me to add a checkbox in the settings to "ignore last modified timestamps" so that I won't check for modified files and only rely on cached hashcodes. That would speed up the processing significantly and it would probably only take a couple of seconds like you expect.

Mike

EDIT:
A better label for the setting would probably be "Check for updated files in cloud folders".
Reply


Messages In This Thread
Internal: file hash - by sciurius - 07-29-2018, 10:14 PM
RE: Internal: file hash - by Zubersoft - 07-30-2018, 02:33 AM
RE: Internal: file hash - by sciurius - 08-01-2018, 08:13 PM
RE: Internal: file hash - by Zubersoft - 08-02-2018, 12:46 AM
RE: Internal: file hash - by sciurius - 08-02-2018, 12:57 AM
RE: Internal: file hash - by Zubersoft - 08-02-2018, 03:44 AM
RE: Internal: file hash - by sciurius - 08-02-2018, 04:12 AM
RE: Internal: file hash - by sciurius - 08-02-2018, 06:17 AM
RE: Internal: file hash - by Zubersoft - 08-02-2018, 07:00 AM
RE: Internal: file hash - by sciurius - 08-02-2018, 08:14 AM
RE: Internal: file hash - by Zubersoft - 08-02-2018, 04:41 PM
RE: Internal: file hash - by sciurius - 08-08-2018, 07:30 PM
RE: Internal: file hash - by Zubersoft - 08-09-2018, 02:33 AM
RE: Internal: file hash - by sciurius - 08-09-2018, 06:35 AM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.