Common: First working version of watcher with confirmation
This commit is contained in:
@@ -15,6 +15,7 @@ Namespace DocumentResultList
|
||||
' TODO: Hashes for checking if the opened file was modified externally
|
||||
Private HashOriginalFile As String = Nothing
|
||||
Private HashOpenedFile As String = Nothing
|
||||
Private Const FILE_OPEN_HANDLE_INTERVAL = 2000
|
||||
|
||||
''' <summary>
|
||||
''' List of opened files containing the filepath that was opened and the document id
|
||||
@@ -74,7 +75,7 @@ Namespace DocumentResultList
|
||||
|
||||
|
||||
If FileOpenTimer.Enabled = False Then
|
||||
FileOpenTimer.Interval = 10000
|
||||
FileOpenTimer.Interval = FILE_OPEN_HANDLE_INTERVAL
|
||||
FileOpenTimer.Start()
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user