From c8d8cc7064d1b43459cac4a4e2e11bebf95f2faa Mon Sep 17 00:00:00 2001 From: ankur22 Date: Mon, 29 Jan 2024 10:30:57 +0000 Subject: [PATCH] Remove the todo This todo has been moved to the localPersister --- common/screenshotter.go | 1 - 1 file changed, 1 deletion(-) diff --git a/common/screenshotter.go b/common/screenshotter.go index db06b5dee..64200e227 100644 --- a/common/screenshotter.go +++ b/common/screenshotter.go @@ -216,7 +216,6 @@ func (s *screenshotter) screenshot( } // Save screenshot capture to file - // TODO: we should not write to disk here but put it on some queue for async disk writes if path != "" { if err := s.persister.Persist(s.ctx, path, bytes.NewBuffer(buf)); err != nil { return nil, fmt.Errorf("saving screenshot")