celestiaorg / go-header

Go library with all the services needed to request, sync and store blockchain headers.
Apache License 2.0
19 stars 18 forks source link

store: Give context deadline for flush operation in `flushLoop` #58

Open renaynay opened 1 year ago

renaynay commented 1 year ago
          Nice, we should actually do the same in the flushLoop in the store.

_Originally posted by @Wondertan in https://github.com/celestiaorg/go-header/pull/52#discussion_r1240223951_