Skip to content

Commit

Permalink
Increase logging around starting PubSub Subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
istreeter committed May 6, 2024
1 parent 19a1f06 commit d9c69ff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ object PubsubSource {
_ <- fiber.join
} yield ()
}
_ <- Resource.eval(Logger[F].info("Waiting for PubSub Subscriber to be up and running...."))
_ <- Resource.eval(Sync[F].blocking(apiService.awaitRunning()))
_ <- Resource.eval(Logger[F].info("PubSub Subscriber is running"))
} yield ()

private def drainQueue[F[_]: Async](control: Control): F[Unit] =
Expand Down

0 comments on commit d9c69ff

Please sign in to comment.