[
https://issues.apache.org/jira/browse/NIFI-12019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767256#comment-17767256
]
Joe Witt commented on NIFI-12019:
---------------------------------
I see a test failure now on a totally unrelated PR for this
synchronousfilewatcher
https://github.com/joewitt/nifi/actions/runs/6252186486/job/16974874215
> SynchronousFileWatcher constantly checks for updates if file has not changed
> ----------------------------------------------------------------------------
>
> Key: NIFI-12019
> URL: https://issues.apache.org/jira/browse/NIFI-12019
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.23.2
> Reporter: Michael W Moser
> Assignee: Michael W Moser
> Priority: Minor
> Fix For: 2.0.0, 1.24.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When SynchronousFileWatcher is configured with a check interval, it can
> ignore that interval and check on every invocation of checkAndReset(). When
> DigestUpdateMonitor is used, this causes a SHA hash to be computed on the
> file every time.
> This happens after one check interval period has passed and the file has not
> changed. When the file has not been modified, the last check timestamp state
> is not updated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)