Skip to content

Commit

Permalink
set start date in journal constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
lanzafame committed Aug 18, 2021
1 parent 28d29b7 commit 31c8334
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions journal/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func OpenFSJournal(lr repo.LockedRepo, disabled DisabledEvents) (Journal, error)
incoming: make(chan *Event, 32),
closing: make(chan struct{}),
closed: make(chan struct{}),
start: build.Clock.Now(),
}

if err := f.rollJournalFile(); err != nil {
Expand Down

0 comments on commit 31c8334

Please sign in to comment.