FileTarget - Closing on OpenFileCacheTimeout apply least recently used#5948
FileTarget - Closing on OpenFileCacheTimeout apply least recently used#5948
Conversation
WalkthroughA new Changes
Sequence Diagram(s)sequenceDiagram
participant FileTarget
participant IFileAppender
participant MinimalFileLockingAppender
participant ExclusiveFileLockingAppender
participant DiscardAllFileAppender
FileTarget->>IFileAppender: Access LastWriteTime
IFileAppender-->>FileTarget: Return last write timestamp
MinimalFileLockingAppender->>MinimalFileLockingAppender: On Write()
MinimalFileLockingAppender->>MinimalFileLockingAppender: Update LastWriteTime
FileTarget->>FileTarget: PruneOpenFileCacheUsingTimeout()
FileTarget->>IFileAppender: Use LastWriteTime to determine stale files
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
60d6d90 to
c29d69b
Compare
c29d69b to
d018d7f
Compare
|


Revert to same behavior as NLog v5 FileTarget: