Skip to content

Commit 428516c

Browse files
committed
[CodeCompletion] Zero check interval should always check dependencies
1 parent 9d89153 commit 428516c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IDE/CompletionInstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ bool CompletionInstance::shouldCheckDependencies() const {
607607
auto now = system_clock::now();
608608
auto threshold = DependencyCheckedTimestamp +
609609
seconds(Opts.DependencyCheckIntervalSecond);
610-
return threshold < now;
610+
return threshold <= now;
611611
}
612612

613613
void CompletionInstance::setOptions(CompletionInstance::Options NewOpts) {

0 commit comments

Comments
 (0)