Skip to content

Commit

Permalink
update timestamp on filelist as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Son Roy Almerol committed Nov 15, 2024
1 parent b6d0766 commit 5d70475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/agent/sftp/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ func (h *SftpHandler) Filecmd(r *sftp.Request) error {
func (h *SftpHandler) Filelist(r *sftp.Request) (sftp.ListerAt, error) {
_ = r.WithContext(r.Context())

go h.Snapshot.UpdateTimestamp()

h.mu.Lock()
defer h.mu.Unlock()

Expand Down

0 comments on commit 5d70475

Please sign in to comment.